java.lang.OutOfMemoryError : PermGen Space

0
By: kumar potla - kumarjasper java.lang.OutOfMemoryError : PermGen Space 2006-07-05 11:34 Hi, When i am trying to fill Report i am getting Error as below java.lang.OutOfMemoryError : PermGen Space if anyone knows this error please let me know. Thanks Kumar. By: Teodor Danciu - teodord RE: java.lang.OutOfMemoryError : PermGen Spac 2006-07-06 00:43 Hi, Are you using the file virtualizer? In any case, try launch the JVM with this option: -XX:MaxPermSize=128m or more -XX:MaxPermSize=256m I hope this helps. Teodor
2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 8 years 1 month ago

3 Answers:

0
This error occurs when the JVM runs out of space in the permanent generation heap. If the application(s) in the server use a large number of classes, the solution is to increase the value specified with -XX:MaxPermSize. If the error occurs only after the redeployment and restart of new applications, then the likely cause is that the JVM cannot garbage collect old classes that are replaced because there are references to the old classes.
Post edited by: javydreamercsw, at: 2006/09/06 20:55
javydreamercsw's picture
Joined: Jul 17 2006 - 9:46pm
Last seen: 3 months 5 days ago
0
Hey, I also came across the same problem but wen I restart my server It just went away. U can try also. I am working on Tomcat5.5 Hopefully It will work Neetika
neetikamittal's picture
Joined: Jul 25 2006 - 9:18am
Last seen: 8 years 1 month ago
0
Tomcat version won't make a difference. Is a known memory leak that have been bugging tomcat and many other programs that loads plenty of classes at the same time. It'll indeed help restarting the server but it brings up the question on what'll happen if you use JasperIntelligence in a production environment with many people using it at once...
javydreamercsw's picture
Joined: Jul 17 2006 - 9:46pm
Last seen: 3 months 5 days ago
Feedback