Questions tagged [permgen]

In the Java Virtual Machine, the permanent generation (or permgen) is used for class definitions and associated metadata.

In the Java Virtual Machine, the permanent generation (or permgen) is used for class definitions and associated metadata.

References:

337 questions
0
votes
1 answer

error when logging to application

when logging to application i have error tomcat 7 in win7 with java options set JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=512m -XX:MaxPermSize=256m…
6azbljlb
  • 47
  • 7
0
votes
1 answer

How to handle large forms with many data on struts2

When I send large form in struts2 the server throws a PermGen error and don’t saves all the form data. the form has 6 fields and a grid, the grid has 10 columns where each row of the grid is a subpojo inside an ArrayList. The problem arises when I'm…
Aegis
  • 113
  • 7
  • 27
0
votes
2 answers

Adding java ClassLoaders to heap not perm gen

We have an application that generates thousands of Java ClassLoaders and classes, before letting them be garbage collected. We are pretty sure there is no class loader leak, but we are getting permgen errors (and even if there is, this question is…
Andrew Eisenberg
  • 28,387
  • 9
  • 92
  • 148
0
votes
1 answer

Tomcat: OutOfMemoryError Permgen Space

I am developing a JSP application using Tomcat 6. Since I did add Quartz Scheduler Framework and Log4J library to project, Tomcat start throwing this exception when redeploying. I have readed about the problem causes, and now I know that have to be…
nashuald
  • 805
  • 3
  • 14
  • 31
0
votes
1 answer

How to handle PermGen space exception in Tomcat?

I am getting a PermGen Space Exception whenever I deploy my web application. I tried some JVm option in NetBeans but still unable to resolve the issue.
vipin k.
  • 2,633
  • 5
  • 22
  • 27
0
votes
1 answer

Out of memory permgen using Jython

We have a problem with our Jython environment, meaning that after a certain amount of calls to eval on the PythonInterpreter object, we run into an 'Out of permgen memory' error. Does anybody have any experience with this and how to solve it? We are…
Tudor Vintilescu
  • 1,450
  • 2
  • 16
  • 28
0
votes
0 answers

AspectJ Spring LTW with tomcat gives perm gen error

Deploying multiple times gives me the permgen out of memory problem. The classloader that i think giving this problem is TomcatInstrumentableClassLoader used by spring for load time weaving. Has anyone else faced this issue with this classloader…
Warz
  • 7,386
  • 14
  • 68
  • 120
0
votes
1 answer

how can i setting up jvm heap size in jetty6.1.24

I am using jetty6.1.26, and I deploy an web application at webapps folder directly. Because my application have lot of jars, so when jetty startup java.lang.OutOfMemoryError: PermGen space I am also using tomcat6, and just put the blew line at the…
diligent
  • 2,282
  • 8
  • 49
  • 64
0
votes
3 answers

PermGen issues persisting even after Tomcat restart (Linux, Tomcat 6.0.35)

Tomcat has got that well-known memory leak problem that causes PermGen space errors after too much redeploying. What I'd like to know is best practices to reload the server in a way that completely resets that space and erases existing memory leaks.…
userBigNum
  • 227
  • 2
  • 12
0
votes
1 answer

I am looking for garbage collection strategy for permgen?

I am using tomcat6 and java on Debian server. Does anyone know of some good and reliable garbage collection strategies for PermGen?
user1467855
  • 3,843
  • 7
  • 28
  • 29
0
votes
1 answer

In Java, the PermGen space is said to be "scaled 30% larger". Does this mean max is no longer necessary?

I recently had cause to look at the documentation for the -XX:MaxPermSize argument to the JVM. Its documentation says in part: 5.0 and newer: 64 bit VMs are scaled 30% larger Does this mean that MaxPermSize is obsolete for Java 1.5 and later…
Laird Nelson
  • 15,321
  • 19
  • 73
  • 127
0
votes
2 answers

PermGen space error received when starting an application with Java 64 bit

I have an Eclipse (plugin-based) application, which I try to start with Java 64bit from a jnlp file (I used maven tycho to build it). Shortly after starting the application, it doesn't respond anymore and sometimes it even closes automatically. If…
Jenny Smith
  • 2,987
  • 6
  • 29
  • 32
0
votes
1 answer

To what size should i increase the size to avoid perm gen error?

While installing google app engine for eclipse i get perm gen error. I read that you need to increase the size of perm gen for eclipse from the config or ini file packed with eclipse. Currently it looks like this…
program-o-steve
  • 2,630
  • 15
  • 48
  • 67
0
votes
2 answers

Unable to change permgen memory

We have a PermGen Out of memory exception in our Java EE web application: java.lang.OutOfMemoryError: PermGen space We have read so many posts about how to solve it and almost all of them say that we have to increase PermSize (default and…
xmunch
  • 15
  • 1
  • 7
-1
votes
1 answer

Integer literal in Java?

int x = 10; Here 10 is directly assigned to variable x or 10 is stored somewhere else and then it get assigned to variable x? I have read in one of the stackoverlow answer that Java stores literals in permgen space. So is 10 stored inside permgen…
xyz
  • 17
  • 3
1 2 3
22
23