GCeas建议:
-XX:+DisableExplicitGC-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/data/logs/jvm/saas-file-parse-api/20201220_/heap_dump.hprof
-XX:InitialHeapSize=2097152000 -XX:MaxHeapSize=2097152000 -XX:MaxNewSize=786432000 -XX:MaxTenuringThreshold=6 -XX:NewSize=786432000 -XX:OldPLABSize=16 -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:ThreadStackSize=256 -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCompressedClassPointers -XX:+UseCompressedOops-XX:+UseG1GC
-Dspring.profiles.active=pro
-Xms1024m -Xmx1024m
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseG1GC
-XX:ParallelGCThreads=5
-XX:InitiatingHeapOccupancyPercent=50
-XX:MaxGCPauseMillis=200
-XX:MaxMetaspaceSize=256m
-XX:HeapDumpPath=/data/app/dump
-jar /data/app/ROOT/app.jar