Questions tagged [permgen]

9 questions
8
votes
3 answers

What causes PermGen OutOfMemoryError on JBoss?

What is the underlying cause of a PermGen OutOfMemoryError in JBoss? I am running JBoss AS 4.2.2 in my development environment, and this occurs after redeploying my web application a large number of times. Christian Vest Hansen's blog gives JVM…
Peter Hilton
  • 475
  • 1
  • 11
  • 11
5
votes
2 answers

PermGen error in Java, while memory usage seems low

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…
serg
  • 245
  • 1
  • 3
  • 7
4
votes
1 answer

Tomcat JMX Monitoring problem with Perm Gen

i've a problem with our jmx monitoring. we monitor the perm gen of some jvms with jmx. but from time to time the name of the mbean changes from "PS Perm Gen" to "Perm Gen" or vice versa. it happens with a restart of the tomcat server, but not with…
Christian
  • 4,645
  • 2
  • 23
  • 27
3
votes
1 answer

"Current Classes Loaded:" continually increasing, PermGen bouncing around max?

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…
Stefan Kendall
  • 1,069
  • 3
  • 17
  • 33
2
votes
1 answer

Solaris SMF Detect Java PermGen?

Is there a way to detect a Java process is out of memory (e.g. PermGen space) and restart it with an SMF contract?
1
vote
2 answers

Tomcat 5.5: "Exception processing JAR at resource path" leads to java.lang.OutOfMemoryError

We have an old server running Tomcat 5.5. Yesterday we deployed a war file, and then it started to crash. Looking at catalina.date.log I found some java.util.zip.ZipException and then java.lang.OutOfMemoryError. I think it's resulting in memory leak…
Hikari
  • 107
  • 3
  • 12
1
vote
2 answers

How does java permgen relate to code size

I've been reading a lot about java memory management, garbage collecting et al and I'm trying to find the best settings for my limited memory (1.7g on a small ec2 instance) I'm wondering if there is a direct correlation between my code size and the…
brad
  • 492
  • 1
  • 10
  • 22
0
votes
1 answer

How to monitor perm gen space remotely?

I need some help on how to monitor perm gen space remotely. We have Tomcat installed on Windows 2008 R2. From time to time perm gen space is full. I want to monitor the perm gen space before it becomes full so that certain actions can be done to…
0
votes
1 answer

Alfresco: OutOfMemoryError: PermGen space

I installed Alfresco Community 4.2.0c (manual install) with these Tomcat settings in startup.sh: CATALINA_OPTS="-Xms512m -Xmx1024m -Xss1024k -XX:MaxPermSize=900m -XX:NewSize=512m -server -Dalfresco.home=/home/aegif/alfresco…
Nicolas Raoul
  • 1,314
  • 7
  • 22
  • 43