The default size of PermGen space is 64MB in most of the JVMs. Increase the PermGen size into 256mb using the JVM option -XX:MaxPermSize=128m [export JVM_ARGS="-Xmx1024m -XX:MaxPermSize=256m"]. The another way to rectify this problem is to get the PermGen space to be garbage collected. Use -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled option to enable the PermGen space to be garbage collected. Though this option will be the better one, make sure that your application needs PermGen space which is lower than 64MB, if not resize the memory using the first option. If anybody has other advices or suggestions, mention it here please.....
_________________ Visruth CV
|