Home > Back-end >  Open the XX: HeapDumpAfterFullGC - XX: HeapDumpBeforeFullGC didn't dump
Open the XX: HeapDumpAfterFullGC - XX: HeapDumpBeforeFullGC didn't dump

Time:09-29

Virtual machine boot parameters as follows, running environment for openjdk8, Linux 64 - bit system, open the XX: XX: + HeapDumpAfterFullGC - + HeapDumpBeforeFullGC, but not before, during, and after fullgc dump files are generated, is what reason? For big solutions,
-server -Xmx3G -Xms3G -XX:NewRatio=3 -XX:SurvivorRatio=4 -Xss256k -XX:MetaspaceSize=256M -XX:MaxMetaspaceSize=256M -XX:MaxTenuringThreshold=15 -XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:+UseFastAccessorMethods -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:CMSFullGCsBeforeCompaction=1 -XX:+UseCMSCompactAtFullCollection -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=75 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+PrintHeapAtGC -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=8 -XX:GCLogFileSize=128M -XX:+HeapDumpAfterFullGC -XX:+HeapDumpBeforeFullGC -Xloggc:/home/logs/gc.bin -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/logs
  • Related