Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JAVA_OPTS="-Djava.awt.headless=true -Xms512m -Xmx2048m -XX:-OmitStackTraceInFastThrow"
- # Set the PermGen and GC options.
- JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSClassUnloadingEnabled"
- # To enable remote debugging uncomment the following line.
- # You will then be able to use a java debugger on port 8000.
- JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"
- # To enable YourKit profiling uncomment the following line.
- JAVA_OPTS="${JAVA_OPTS} -agentpath:/usr/local/yjp/bin/linux-x86-64/libyjpagent.so=delay=10000,sessionname=Tomcat"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement