News for hackers. Stuff that matters.
Re:JVM Anatomy Quarks by kaba0 on Monday November 11, 2024 @03:34AM (#42105443)
Java does the sane thing within containers, and you definitely not have to set memory settings anywhere else, unless you want some very specific behavior.
Re:JVM Anatomy Quarks by vips7L on Monday November 11, 2024 @12:03PM (#42108613)
I thought this was the case but actually couldn’t find any documentation on it. The best I could find was that the vm is aware it is in a container and will correctly set the heap %’s based on the containers memory. It still looked like it was defaulting to 25%.