Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Xms represents the initial size of total heap space
- # Xmx represents the maximum size of total heap space
- -Xms20g
- -Xmx20g
- ## GC configuration
- -XX:+UseConcMarkSweepGC
- -XX:CMSInitiatingOccupancyFraction=75
- -XX:+UseCMSInitiatingOccupancyOnly
- # explicitly set the stack size
- -Xss1m
- ## force the JVM to use IPv4 stack
- -Djava.net.preferIPv4Stack=true
- # pre-touch memory pages used by the JVM during initialization
- -XX:+AlwaysPreTouch
- # force the server VM
- -server
- # set to headless, just in case
- -Djava.awt.headless=true
- # ensure UTF-8 encoding by default (e.g. filenames)
- -Dfile.encoding=UTF-8
- # use our provided JNA always versus the system one
- -Djna.nosys=true
- # flags to configure Netty
- -Dio.netty.noUnsafe=true
- -Dio.netty.noKeySetOptimization=true
- -Dio.netty.recycler.maxCapacityPerThread=0
- # log4j 2
- -Dlog4j.shutdownHookEnabled=false
- -Dlog4j2.disable.jmx=true
- -Dlog4j.skipJansi=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement