Skip to content

Tomcat Java Options

William Panting edited this page Sep 15, 2015 · 4 revisions

This is aimed at a Tomcat running Fedora, GSearch and Solr.

  • All Versions ** at least 1 gig minimal memory -Xms1000m ** a use-case sensitive max memory, usually no more than half of available physical memory so as to not starve other applications -Xmx4000m
  • 1.7 ** PermGen -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled
  • 1.8 ** PermGen has been removed so no longer use PermGen effecting options.
  • Multiple processors ** Single threaded GC can't keep up so use -XX:+UseParallelOldGC