[Geoserver-users] Java and geoServer setup optimization under Tomcat

In the past there was a suggestion to add a few options to the tomcat setup, including similar to
-XX:MaxPermSize=512m
-XX:SoftRefLRUPolicyMSPerMB=100000
-XX:+UseParallelGC
-XX:+UseParallelOldGC
-XX:NewRatio=2

Are these still applicable to a current Java (8) and geoServer (2.9) setup? For example, I don't think PermGen memory is used as such anymore. Has anyone tested/benchmarked the system without these? Are there different settings we should be using?

PS. Primary platform of interest for me is Windows.

On 19-09-16 18:37, Tom S wrote:

In the past there was a suggestion to add a few options to the tomcat
setup, including similar to
-XX:MaxPermSize=512m
-XX:SoftRefLRUPolicyMSPerMB=100000
-XX:+UseParallelGC
-XX:+UseParallelOldGC
-XX:NewRatio=2

The current recommendations are available in the user manual; eg. http://docs.geoserver.org/latest/en/user/production/container.html#optimize-your-jvm

On windows you probably want to add the -server option as well

since things change between versions of the jvm and every deployment is different there's no silver bullit; you need to monitor and tweak your server