Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. # Xms represents the initial size of total heap space
  2. # Xmx represents the maximum size of total heap space
  3. -Xms20g
  4. -Xmx20g
  5.  
  6. ## GC configuration
  7. -XX:+UseConcMarkSweepGC
  8. -XX:CMSInitiatingOccupancyFraction=75
  9. -XX:+UseCMSInitiatingOccupancyOnly
  10.  
  11. # explicitly set the stack size
  12. -Xss1m
  13.  
  14. ## force the JVM to use IPv4 stack
  15. -Djava.net.preferIPv4Stack=true
  16.  
  17. # pre-touch memory pages used by the JVM during initialization
  18. -XX:+AlwaysPreTouch
  19.  
  20. # force the server VM
  21. -server
  22.  
  23. # set to headless, just in case
  24. -Djava.awt.headless=true
  25.  
  26. # ensure UTF-8 encoding by default (e.g. filenames)
  27. -Dfile.encoding=UTF-8
  28.  
  29. # use our provided JNA always versus the system one
  30. -Djna.nosys=true
  31.  
  32. # flags to configure Netty
  33. -Dio.netty.noUnsafe=true
  34. -Dio.netty.noKeySetOptimization=true
  35. -Dio.netty.recycler.maxCapacityPerThread=0
  36.  
  37. # log4j 2
  38. -Dlog4j.shutdownHookEnabled=false
  39. -Dlog4j2.disable.jmx=true
  40. -Dlog4j.skipJansi=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement