Advertisement
diablowu

Untitled

Apr 13th, 2020
2,745
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -Xmx8G
  2. -Xms8G
  3. -Xmn2G
  4. -Xss256k
  5. -XX:MaxMetaspaceSize=256M
  6. -XX:+HeapDumpOnOutOfMemoryError
  7. -XX:+AlwaysPreTouch
  8. -XX:+UseTLAB
  9. -XX:+ResizeTLAB
  10. -XX:+UseNUMA
  11. -Djava.net.preferIPv4Stack=true
  12. #-XX:+UnlockDiagnosticVMOptions
  13. #-XX:+PrintGCDetails
  14. #-XX:+PrintGCDateStamps
  15. #-XX:+PrintHeapAtGC
  16. #-XX:+PrintTenuringDistribution
  17. #-XX:+PrintGCApplicationStoppedTime
  18. #-XX:+PrintPromotionFailure
  19. #-Xloggc:/tmp/gc/gc-$$.log
  20.  
  21. # cms
  22. -XX:+UseParNewGC
  23. -XX:+UseConcMarkSweepGC
  24. -XX:+CMSParallelRemarkEnabled
  25. -XX:SurvivorRatio=8
  26. -XX:MaxTenuringThreshold=1
  27. -XX:CMSInitiatingOccupancyFraction=75
  28. -XX:+UseCMSInitiatingOccupancyOnly
  29. -XX:CMSWaitDuration=10000
  30. -XX:+CMSParallelInitialMarkEnabled
  31. -XX:+CMSEdenChunksRecordAlways
  32. -XX:+CMSClassUnloadingEnabled
  33.  
  34. # g1gc
  35. #-XX:+UseG1GC
  36. #-XX:+ParallelRefProcEnabled
  37. #-XX:G1RSetUpdatingPauseTimePercent=5
  38. #-XX:MaxGCPauseMillis=500
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement