5 ms·
>> But the in case of containers with a hard memory limit, the entire container will simply be killed without warning. At least in my experience that is not tr
by mboehm 9y ago
>> But the in case of containers with a hard memory limit, the entire container will simply be killed without warning.
At least in my experience that is not true. I quite often run into this issue and the OOM-killer will only kill one of the processes inside the container, not the entire container.
>> The same is true for default memory limits. The JVM looks at the host overall memory and uses that to set its defaults.
Well, I guess if you launch a JVM anywhere without setting appropriate memory settings, you are doing something fundamentally wrong.
- rad_gruchalski 9y ago>> At least in my experience that is not true. I quite often run into this issue and the OOM-killer will only kill one of the processes inside the container, not the entire container. Hence one does not run multiple processes in the container or / and handle crashes of potential child processes correctly.
- mboehm 9y agoWell, I guess, sometimes you need to break the rules. But you are right.