In Linux I think there is a mechanism to kill the application.
I want to know what is in the condition that will cause an application to be killed?
For example, I think that there are insufficient memory, a certain number of application launches, and so on.
Control group (cgroups) which supported by Linux kernel permitting to limit resource used for an application. (memory, bandwidth, disk, …). Once a particular app exceeds the permitted resource, it will be automatically killed.
How to enable it?