Jump to content
Changes to the Jaspersoft community edition download ×

java.lang.OutOfMemoryError : PermGen Space

Recommended Posts

By: kumar potla - kumarjasper

java.lang.OutOfMemoryError : PermGen Space

2006-07-05 11:34


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.





By: Teodor Danciu - teodord

RE: java.lang.OutOfMemoryError : PermGen Spac

2006-07-06 00:43




Are you using the file virtualizer?

In any case, try launch the JVM with this option:


or more



I hope this helps.


Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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

Link to comment
Share on other sites

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...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...