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

WebappClassLoader are not Garbage collected in Spring MVC

I have web application developed with Spring/Hibernate. When I do Profiling using JProfiler it shows around 9k WebAppClassLoader. We execute some groovy expression in run time that increases the count to 20K. I did this to find the Leak. Deployed…
Selvakumar Ponnusamy
  • 5,363
  • 7
  • 40
  • 78
0
votes
0 answers

How to increase Permgen space for spark jobs getting launched via oozie

I am having an issue where spark my executors are running out of permgen space. I launch my spark jobs using oozie's spark action. The same jobs run without issue if I launch them manually using spark-submit. I have tried increasing the permgen…
bdguy
  • 213
  • 1
  • 2
  • 6
0
votes
0 answers

Java OutOfMemoryError on jetty server running JSP

I'm facing a java.lang.OutOfMemoryError and subsequent PermGen space errors on my project environment. The same code works for the others developers in my team and we wasn´t able to catch the main cause of the problem: Here is part of the stack…
user4615488
0
votes
1 answer

When does PermGen space get cleared?

I am trying to determine if my application has a memory leak, or if it is in fact just running out of memory due to the number of classes I have. My question is: When does the PermGen space get cleared? I am running an application inside of Tomcat6.…
0
votes
1 answer

Java8 has completely removed permgen space from it's memory area. will it completely stop memory leak issues ? ...

This is what I have got from oracle site: Area: HotSpot / gc Synopsis The command line flags PermSize and MaxPermSize have been removed and are ignored. If used on the command line a warning will be emitted for each. Java HotSpot(TM) Server VM…
Siddhartha
  • 492
  • 1
  • 5
  • 15
0
votes
1 answer

Can't unloaded Groovy classes - PermGen Erros

I have a legacy system that is extensively using Groovy version 1.0 and currently I can not update Groovy to an updated version. From time to time I'm getting a PermGen error due to the fact that all the Groovy classes/scripts are kept in memory…
0
votes
1 answer

Shutdown ScheduledThreadPoolExecutor opened by 3rd party JAR during JVM stop

During JVM stop, few of the thread pool are not getting closed properly. Due to this Perm Gen leak happens as class loader is restricted from being Garbage collected. These thread pool are opened by 3rd party application (Elasticsearch) and I do not…
DecKno
  • 293
  • 1
  • 5
  • 21
0
votes
1 answer

Elasticsearch unclosed client. Live threads after Tomcat shutdown. Memory usage impact?

I am using Elasticsearch 1.5.1 and Tomcat 7. Web application creates a TCP client instance as Singleton during server startup through Spring Framework. Just noticed that I failed to close the client during server shutdown. Through analysis on…
DecKno
  • 293
  • 1
  • 5
  • 21
0
votes
1 answer

Reason for PermGen OutOfMemoryError when "No GC root found"?

I fix 3 different PermGen OutOfMemoryError issues in webapp and it survives any number of redeploys (I don't try larger then 30) in restricted -XX:MaxPermSize=66m. Running application takes ~55 MB of PermGen. Main reason to fix memory leaks is to…
gavenkoa
  • 45,285
  • 19
  • 251
  • 303
0
votes
2 answers

Error executing Grails 3.0.5

I am using Grails 3.0.5 I get this error when trying to deploy using java -Dgrails.env=prod -jar Configuring Spring Security Core ... ... finished configuring Spring Security Core Grails application running at http://localhost:8080 in…
user2809386
0
votes
1 answer

Class definition disapear from jvm over time (NoClassDefFound)

We have a very weird problem here. jvm : tried 1.7.0_55-b13 and 1.7.0_75-b13 tomcat : 7.0.56 os : Ubuntu 12.04.5 LTS (64bit) (3.5.0-23-generic) Using tomcat with a big application built with spring. On one of our production environment, we sometime…
baraber
  • 3,296
  • 27
  • 46
0
votes
0 answers

Jboss 7.1.1.final service JAVA_OPTS

I have a JBOSS AS 7.1.1.final which runs as a service on windows 7. But, the problem is that because of this line(from service.bat), it ignores my JAVA_OPTS from standalone.bat. set JAVA_OPTS=-Xrs So, because I had some memory problems I had to…
0
votes
1 answer

Out of memory permgen space when running as service

I have Jboss 7.1.1 AS and when I run it as service, after some time when I use jasper reports I get exception: java.lang.OutOfMemoryError: PermGen space Notice that this does not happen at all when I run it from Jboss developer studio. What should I…
0
votes
0 answers

PermGen causing tomcat startup failure

I have a server using ubuntu 14.04 and running tomcat8. After adding a few sites, who's war files did not automatically deploy, i decided to restart tomcat to get them deployed. I have as a result got this error: 26-Jun-2015 12:28:43.482 SEVERE…
user3385136
  • 513
  • 1
  • 7
  • 20
0
votes
0 answers

PermGen size (as monitored in VisualVM) starts decreasing

We are running a Swing App which starts getting very slow after a time and it appears to be due to the fact that the PermGen size as seen in JVisualVM is reducing until eventually the Permgen used is the same as the size. The Heap size does not…