G1 GC heap size is not bounded ?
Bernd Eckenfels
bernd-2014 at eckenfels.net
Mon Feb 10 14:00:37 PST 2014
Hello,
I actually found the reason for my crashes (old JVM wath in path). If I
remove it from the path the following works (I use jconsole as a sample
Java application to monitor, if you use java.exe -jar instead the -J
has to be removed:
C:\>"c:\Program Files\Java\jdk1.8.0\bin\jconsole" -J-XX:NativeMemoryTracking=detail
C:\>"c:\Program Files\Java\jdk1.8.0\bin\jcmd" -l
5408 sun.tools.jcmd.JCmd -l
5732 sun.tools.jconsole.JConsole
C:\>"c:\Program Files\Java\jdk1.8.0\bin\jcmd" 5732 VM.native_memory
5732:
Native Memory Tracking:
Total: reserved=3538105KB, committed=175085KB
- Java Heap (reserved=2080768KB, committed=17920KB)
(mmap: reserved=2080768KB, committed=17920KB)
- Class (reserved=1070434KB, committed=23266KB)
(classes #2260) (malloc=9570KB, #1230)
(mmap: reserved=1060864KB, committed=13696KB)
etc.
More information about the hotspot-gc-use
mailing list