Advertisement
rherrick

Untitled

Sep 5th, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. JAVA_OPTS="-Djava.awt.headless=true -Xms512m -Xmx2048m -XX:-OmitStackTraceInFastThrow"
  2.  
  3. # Set the PermGen and GC options.
  4. JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSClassUnloadingEnabled"
  5.  
  6. # To enable remote debugging uncomment the following line.
  7. # You will then be able to use a java debugger on port 8000.
  8. JAVA_OPTS="${JAVA_OPTS} -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"
  9.  
  10. # To enable YourKit profiling uncomment the following line.
  11. 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