-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled and -XX:+UseConcMarkSweepGC
but i am not getting where to change for this means how to get effect with these lines.
And also please tell me is this the right way to solve the problem.
gokul subramanian
Greenhorn
Joined: Apr 06, 2010
Posts: 8
posted
0
Hi Mohit Kumar Tayal ,
can i know which ide are you using....
Mohit Kumar Tayal
Greenhorn
Joined: Aug 27, 2008
Posts: 29
posted
0
Hi gokul,
I am using MyEclipse but the problem comes after deploying the application on live servers after 3-4 days on restarting the application not on my development system.
You can increase the size of the PermGen space. This will buy you time between occurrences, not fix the problem as Gokul states.
Follow Lester's link. This problem has to do with how the classloader works. There is no workaround that I have seen.