Re:Running Java in a Container
by rad_gruchalski on Wednesday March 21, 2018 @09:02AM
(#16637633)
>> 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.
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.