Skip to content

Instantly share code, notes, and snippets.

@lloydwatkin
Created February 5, 2013 17:03
Show Gist options
  • Select an option

  • Save lloydwatkin/4715863 to your computer and use it in GitHub Desktop.

Select an option

Save lloydwatkin/4715863 to your computer and use it in GitHub Desktop.
ENC="-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8"
DRV="-Djdbc.drivers=com.mysql.jdbc.Driver:org.postgresql.Driver:org.apache.derby.jdbc.EmbeddedDriver"
#GC="-XX:+UseBiasedLocking -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:ParallelCMSThreads=2"
JAVA_HOME="/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64"
CLASSPATH=""
#JAVA_OPTIONS="${GC} ${ENC} ${DRV} -server -Xms100M -Xmx200M -XX:PermSize=32m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=128m "
JAVA_OPTIONS="${GC} ${ENC} ${DRV} -server -Xms200M -Xmx400M -XX:PermSize=64m -XX:MaxPermSize=512m -XX:MaxDirectMemorySize=256m "
TIGASE_CONFIG="etc/tigase.xml"
TIGASE_OPTIONS=" --property-file etc/init.properties"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment