-XX:MaxPermSize with or without -XX:PermSize
问题 We\'ve run into a Java.lang.OutOfMemoryError: PermGen space error and looking at the tomcat JVM params, other than the -Xms and -Xmx params we also specify -XX:MaxPermSize=128m . After a bit of profiling I can see occasionally garbage collection happening on the PermGen space saving it from running full. My question is: other than increasing the -XX:MaxPermSize what would be the difference if I specify as well -XX:PermSize ? I know the total memory then would be Xmx+maxPermSize but is there