forked from discoverygarden/basic-solr-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Tomcat Java Options
William Panting edited this page Sep 17, 2015
·
4 revisions
This is aimed at a production 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
- at least 1 gig minimal memory
- 1.7
- PermGen
-XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled
- PermGen
- 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
- Single threaded GC can't keep up so use