Saturday, May 26, 2012

How to set the custom heap and permgen sizes in JVM?

Use following JVM parameters:

Set heap sizes...
-Xms128m -Xmx512m
Set perm gen sizes...
-XX:PermSize=64m -XX:MaxPermSize=128m

No comments: