Success: optimizing the Etherpad Java VM

After weeks of tweeking i finally found an environment that works smoothly
2GB VM
I kept my ${MXRAM} at 1800M
$JAVA -classpath $CP \
-server \
-Xmx${MXRAM} \
-Xms${MXRAM} \
-Djava.awt.headless=true \
-XX:MaxGCPauseMillis=500 \
-XX:+UseParallelGC \
-Dappjet.jmxremote=true \
$JAVA_OPTS \
net.appjet.oui.main \
–configFile=${cfg_file} \
“$@”
Note the lack of logging etc.

One thought on “Success: optimizing the Etherpad Java VM

  1. Thanks for this. I’m new to the JVM and Etherpad. I was wondering, why did you pick -XX:+UseParallelGC instead of the Etherpad default -XX:+UseConcMarkSweepGC?

    Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *