problem about permgen-Collection of common programming errors


  • Pat
    grails jetty permgen
    We’re developing a few Grails applications, and deploying the WARs on Jetty. When we run each of the applications one at a time, they hover at around 200 – 300 MB of memory, which is perfectly acceptable. But, adding any more applications increases the memory footprint… by a lot. Once we have our three applications running, we usually end up crashing around 900 MB.All three of the applications have Quartz jobs. I’ve tried increasing the PermGen size, but to no avail. And adding more memor

  • Pangea
    java eclipse eclipse-juno permgen
    My eclipse is crashing with OOO: perm-gen error. I opened up the eclipse.ini to increase it but to my surprise I found two occurences of the XXMaxPermSize as shown below.. I am not sure why there are two and which one to change.-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar –launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813 -product org.eclipse.epp.package.java.product –launcher.defaultAction openFile –launcher.XXMaxPermSize 5

  • Mee
    windows-7 memory-leaks jdk1.6 permgen
    I have a problem that makes eclipse modeling helios SR2 with xtext 1.0.2, crash on startup if I have projects. If I try to update eclipse it crashes. When building workspace it crashes.An internal error occurred during: “Workbench early startup”. java.lang.OutOfMemoryError: PermGen space !MESSAGE An internal error occurred during: “Contacting Software Sites”. java.lang.OutOfMemoryError: PermGen spaceI am using windows 7, 64bits and jdk 1.6.0_25_b06 of 32bits and eclipse of 32 bits too. In 64 b

  • skaffman
    java memory-management jboss permgen
    I develop web applications and I use jBoss 4.0.2 and when I have redeployed my WAR several times with eclipse, jBoss will crash because it runs out of memory. And when I have to install new version to production enviroment, it will consume production servers memory, so that means I have to stop jBoss to prevent redeploying eat memory from customers server. Is there any work around for this problem?

  • Lee
    java tomcat jsf netbeans permgen
    Recently, while working on a JSF web app, using Netbeans 6.8, I am constantly getting PermGen: Out Of Memory Errors. I have also noticed that this is not related to hot swapping the code, as some people suggested on the forums; I generally restart my local web server, Tomcat 6.0, whenever I redeploy the code. This used to happen to me once in awhile, but as of late, it was been occurring constantly. I usually can’t go more than two minutes before it crashes.The important observation I’ve made ab

  • Stefan Kendall
    java tomcat6 permgen
    I’ve run load against my web application for the past few days, and I’ve noticed that “Current Classes Loaded” viewed via JMX monitoring is continually increasing. It will go up and then back down, but the average amount of classes loaded is increasing linearly with time. At the beginning of load, “Current Classes Loaded” was only a few thousand. Now, however, “Current Classes Loaded” has reached 130,000+.Is this normal? I know that classes will fill up PermGen memory, but it’s not definitive w

  • serg
    tomcat java solr permgen
    Java application dies from time to time with PermGen space error, but when I look at the memory usage it seems low from what I can tell.It is a Tomcat application, plus there is SOLR server running (under the same tomcat).JVM params in catalina.sh:-Xms1024m -Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/path/to/logsError in catalina.out:java.lang.OutOfMemoryError: PermGen space Dumping heap to /path/to/logs/java_pid22335.hprof … Heap dump file created [107041478 bytes in 1.823

  • animuson
    eclipse unhandled-exception permgen
    I have a machine with 2GB of RAM. Currently, my Eclipse is getting closed regularly after throwing:Unhandled event loop exception PermGen spaceSome times it gets closed without showing any error, or some other errors.Here is the setting that I have in eclipse.ini:–launcher.XXMaxPermSize 256m –launcher.defaultAction openFile -vmargs -Xms256m -Xmx384mWhat changes do I need to make to fix this?

  • mrk
    grails permgen
    I need help with this problem. I need someone to explain to me why is this happening and how to prevent or avoid it.Exception in thread “Thread-747” java.lang.OutOfMemoryError: PermGen space Exception in thread “Thread-748” java.lang.OutOfMemoryError: PermGen space Exception in thread “Thread-759” java.lang.OutOfMemoryError: PermGen space Exception in thread “Thread-760” java.lang.OutOfMemoryError: PermGen space Exception in thread “Thread-764” java.lang.OutOfMemoryError: PermGen space Exception