Hacker News new | ask | show | jobs
by edp 1908 days ago
Starting with OpenJDK 11 (and I think available in OpenJDK8 with an optional flag), the JVM will use the memory constraints of the container, so no more -Xmx flags and so on if you are running the JVM in a container environment.
1 comments

No flag necessary for latest versions of OpenJDK 8, either.