I defined -Xmx32G in ui.ini, but memory usage of the OOM YourKit is reported at ~9GB.
How can I open and analyze the snapshot?
Command line as reported by "jps -lvm":
133317 /opt/yourkit/bin/../lib/yourkit.jar -Xmx8G -Djava.awt.smartInvalidate=true -Djna.nosys=true \n-XX:+HeapDumpOnOutOfMemoryError\n\n-Xmx32G\n-server\n\n\n\n\n-Dsun.java2d.uiScale=2\n\n-Dyk.font.name=Dialog\n-Dyk.font.size=9 -Dyk.empty.param --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED -Dawt.toolkit.name=XToolkit
Possible fix: The commandline contains linefeeds. I modified profiler.sh with a tr '\n' ' ' to replace linefeeds taken from ui.ini with a space. This seems to have fixed it.
