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
4 answers

How to fixed PermGen memory issue

I got the following error in browser when log into the system java.lang.RuntimeException: javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space …
Shan007
  • 5
  • 4
0
votes
2 answers

java.lang.OutOfMemoryError: PermGen space in CloudHub

I am getting a permgen space issue when trying to run an application. The application has a couple of select db calls and then tries to connect to salesforce system using the Salesforce connector. However, as soon I reach the point to connect to…
rst
  • 339
  • 5
  • 22
0
votes
1 answer

How Is the Default Max Permgen Size Defined:

My understanding from what documentation I can find and StackOverflow questions I can find is that the default max permgen size is 64MB. I am running an application out of Eclipse Kepler x86, Windows 7 x64, Java 7 with no -XX:MaxPermSize flags set.…
Zéychin
  • 4,135
  • 2
  • 28
  • 27
0
votes
1 answer

PermGen error due to leak in JAXBClassLoader

I am running a large Java 7 application (built by Maven) which started to crash multiple times due to PermGen error. After profiling it (jProfiler) I noticed the ClassLoader section holds increasing number on ClassLoader of type:…
rperez
  • 8,430
  • 11
  • 36
  • 44
0
votes
1 answer

Permgen Error when Multicasting

I have two instances of an web application running in two different servers on tomcat. When I add session replication config by multicast, it gives me permgen error in the next five minutes (i had just two active sessions). But in that five minutes,…
0
votes
1 answer

Tomcat Permgen not increased even if I put it in Java options

I'm running Tomcat 7 as a windows service in a Windows Server 2008 Machine. I've got a Java.lang.OutOfMemoryError: PermGen space so I'm trying to increase its PermGen memory heap. So I specify this line at the end of JVM options: -XX:PermSize=512m …
Aritz
  • 30,971
  • 16
  • 136
  • 217
0
votes
1 answer

Spray: PermGen out-of-memory errors on deployed instance during runtime

I have a large-ish Spray API written with about 60-70 endpoints, and I run it using the spray-can HTTP server on Java 7. While running a large number of automated end-to-end tests against it, I received a java.lang.OutOfMemoryError: PermGen space…
Siddhu
  • 888
  • 3
  • 9
  • 28
0
votes
1 answer

Loading driver jar file at runtime resulting in Perm Gen Space Error

I have created a REST service in which I am loading the JDBC driver jar at runtime. Below is the code which does this: Driver driverInstance; URLClassLoader driverClassLoader; driverClassLoader = new URLClassLoader (new URL[] { "c:/mysql.jar" },…
sf9251
  • 268
  • 1
  • 3
  • 16
0
votes
3 answers

PermGen outofmemory error using Fortify

I am running fortify static code scan. main\Src>sourceanalyzer -64 -Xmx6500m -b project -scan -f project.fpr The JDK is 1.8 java -version java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server…
0
votes
2 answers

Grails - dbm-gorm-diff running into PermGen space error

I'm trying to get the dbm-gorm-diff command from the database migration plugin running. However, I always run into a java.lang.OutOfMemoryError: PermGen space I already tried to alter configuration for the JVM. That's my current…
gabriel
  • 347
  • 3
  • 18
0
votes
2 answers

OUtOfMemoryError: define PermGen space properly in Tomcat 7 and Linux

We have a Tomcat7 instance which deploys 2 web apps. These webapps has a lot of dependencies and the currently memory space seems not to be enough. We have configured in a startup file the environment variables needed. In particular, we set…
mannuk
  • 1,259
  • 5
  • 21
  • 43
0
votes
1 answer

Setting JMX attribute on VM as command line parameter

I've done some searching, but can't seem to find a way to do this. We'd like to proactively monitor our permgen space via JMX. It seems the best way to do this is through the UsageThreshold attribute on the "PS Perm Gen" MemoryPool. By default,…
fender
  • 3
  • 1
0
votes
1 answer

Tomcat runs out of PermGen space, even with a lot of PermGen space reserved

Running Tomcat fails with java.lang.OutOfMemoryError-errors related to lack of PermGen space. I recently changed Tomcat to run as its own user (not root). I have tried increasing the PermGen size in CATALINA_OPTS to 512MB and 1024MB, but it does not…
andrel
  • 1,144
  • 11
  • 25
0
votes
1 answer

Orika and usage of PermGen Space

Since some days we're using Orika for Class Mapping in our production environment. Now it seems that we have a problem with the PermGen Space. We need more then twice as much PermGen Space then before and had some OutOfMemoryError's. Is it possible…
SARN
  • 13
  • 4
0
votes
1 answer

How to debug permgen memory errors for a project that uses sbt and play 2 framework in Scala

I'm using sbt with enough memory and PermSize (see values below) but I still keep getting memory errors. [error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: PermGen space My sbt script looks like the following.…
Soumya Simanta
  • 11,523
  • 24
  • 106
  • 161