I did write proper command
Please ignore the first reply.
These setting we give to JBoss to resolve java.lang.OutOfMemoryError:
PermGen space
-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:
set JAVA_OPTS=-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=512m
+CMSClassUnloadingEnabled
Please note the OutOfMemory does not comes for small application i am
speaking about big enterprise applications having EJB and alot of java
objects.
Shree hari you can ask your friend Gamini the DMS application was
always throwing these Error.
They suggest to increase RAM. You cannot convince client usually to
put more RAM. He might say other applications are running.
Hence give it a try with these startup options.