Hey there! any question in your mind? Ask It Now!.

Popular Categories

java.lang.OutOfMemoryError: PermGen space

+4 votes
asked in Programming by mannu (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
answered by AlexStewart (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.

Related Questions

+6 votes
1 answer 399 views
0 votes
0 answers 138 views
0 votes
0 answers 248 views
0 votes
1 answer 217 views
+3 votes
1 answer 911 views
–1 vote
0 answers 192 views

Not a Member yet?

Ask to Folks Login

My Account
278 Folks are online
0 members and 278 guest online
Your feedback is highly appreciated