+4 votes
342 views
in Programming by (990 points)
while running my application getting this error java.lang.OutOfMemoryError: PermGen space

My application is in Hibernate/JPA + IceFaces/JSF and running on Tomcat 6 with JDK 1.6.

1 Answer

0 votes
by (560 points)

I think you should add these flages to your JVM cmd line in the time of tomcat server is started ,

-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled

try this and if any other issue comes let me know.

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated