What happens when an app exceeds the memory limit for a sustained period of time?

Alhtough not instantaneous, When you go over the memory limit on a replica, your pod will get OOMKilled and restarted.

This will continue until the memory limit is increased for your service.