Problem : tests are done on a windows laptop (32G ram it works Xmx 20G) but production environment are under Linux (48G RAM Xmx 40 or 20 or 30 whatever Memory grows to 48 freezing shutdown under 5.3 => 5.8 Knime version). So I ask the question again, why Xmx parameter doesn’t work on linux ?
Using the Xmx command line parameter only sets the maximum size of the Java heap. However, there are many more memory pools that Java uses and there is a significant amount of internal memory needed for the JVM (e.g. garbage collection as well). Therefore the memory footprint of the Java process can easily exceed the configured heap size by 30-50%.
Well, how can it be possible that the process can run without failure on windows with 32 GB RAM and fully use a 48 GB RAM on linux forcing the server to shut down. What parameter should I use to prevent this issue ?