permgen

Increase permgen space

Hi! I am working with tomcat 6.0, and while I am indexing (not while i am starting tomcat), I have a permgen space error. How could I increase that space?? Thanks ...

PermGen size not expanding to fill max space available.

I have a java process running. With jstat I can see the the permgen utilisation and the capacity are almost identical. i.e. the current capacity is almost full but still well below the max permgensize specified. Is this standard or should I expect to see a degree of headroom space allocated? Standard Sun 1.5 JVM ...

Do I have a JAXB classloader leak

I have an application deployed on Glassfish. Over time the number of loaded classes climbs into the millions and my permgen seems to rise. To help troubleshoot I added the following to my jvm arguments. -XX:+PrintGCDetails -XX:+TraceClassUnloading -XX:+TraceClassLoading Now when watching the output, I see the same classes being loaded ...

Track down PermGen problem with JRuby on Rails in Tomcat

We're running a small web application written JRuby on Rails running under Tomcat. We're using a Spring back-end that's shared with another production web application. Unfortunately, we keep running into PermGen problems. OS: Ubuntu Linux 2.6.24-24-server #1 SMP x86_64 GNU/Linux Java: 1.6.0_21 Tomcat: 6.0.28 JRuby: 1.5.0 Rails: 2.3.7 W...

Netbeans Java Debugger crashing with Out of Memory Errors

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 on...

Is there a way to run multiple Grails apps on the same web server without running into PermGen errors?

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 usual...

Real Life, Practical Example of Using String.intern() in Java ?

I've seen many primitive examples describing how String intern()'ing works, but I have yet to see a real-life use-case that would benefit from it. The only situation that I can dream up is having a web service that receives a considerable amount of requests, each being very similar in nature due to a rigid schema. By intern()'ing the re...

Tomcat on production server, PermGen and redeploys

It looks like MemoryError: PermGen space java.lang.OutOfMemoryError: PermGen space is a common problem. You can Increase the size of your perm space, but after 100 or 200 redeploys it will be full. Tracking ClassLoader memory leaks is nearly impossible. What are your methods for Tomcat (or another simple servlet container - Jetty...

How to make sure that Tomcat6 reads CATALINA_OPTS on Windows?

Hi all, I have a Tomcat6 running on a Windows2003 machine. I deployed 2 Grails apps on this server and I soon noticed that everything was crashing sometime after the deploy with a classic PermGen error. java.lang.OutOfMemoryError: PermGen space java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClassCond(Cla...

Tool to view objects in permgen

Hi, I have some problems with permgen overflow. What tools I can use to view what classes are now loaded into permgen and how much memory they use? Thanks. ...

Is it still impossible to get rid of out of PermgenSpace exceptions when redeploying?

This is an old problem I've always had. I want to redeploy in development environment. After some deployments I run out of permgen and have to kill the server. Years ago I tried to find a solution to the problem but just found Spring and Hibernate blaming each other for the problem. Has any solution been found? Spring Roo claims it doe...

Getting Permgen space error on running Jboss 5.1.0 as a service on WIndows machine.

How to solve the above issue ? ...