Top "Permgen" questions

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

What is the difference between PermGen and Metaspace?

Until Java 7 there was an area in JVM memory called PermGen, where JVM used to keep its classes. In Java 8 …

java java-8 java-7 permgen metaspace
Tomcat thread dump

Is there away to take a thread dump from Tomcat. I want to monitor the running threads on Tomcat at …

java tomcat permgen thread-dump
java.lang.OutOfMemoryError: PermGen space error

I've read all kind of solutions for this. A link in a comment in Dealing with “java.lang.OutOfMemoryError: PermGen …

maven out-of-memory permgen
ThreadLocal & Memory Leak

It is mentioned at multiple posts: improper use of ThreadLocal causes Memory Leak. I am struggling to understand how Memory …

java multithreading memory-leaks thread-local permgen
How to make sure that Tomcat6 reads CATALINA_OPTS on Windows?

I have a Tomcat6 running on a Windows2003 machine. I deployed 2 Grails apps on this server and I soon noticed …

tomcat logging grails permgen
Weblogic increase memory

How do I increase the memory used by my Weblogic (Java). While starting the server from eclipse it shows a …

java weblogic permgen weblogic12c
Why is the default size of PermGen so small?

What would be the purpose of limiting the size of the Permgen space on a Java JVM? Why not always …

java heap heap-memory permgen
Maven "Exception in thread "http-bio-8080-exec-32" java.lang.OutOfMemoryError: PermGen space"

I made a project in NetBeans under Ubuntu 11.10 with Struts2 + Spring and Hibernate frameworks. The first run is ok, but …

java maven netbeans permgen
How to analyze PermGen contents?

I want to get a dump of the PermGen to see why it is filling. Is there a way to …

java permgen
JUnit 4 PermGen size overflow when running tests in Eclipse and Maven2

I'm doing some unit tests with JUnit, PowerMock and Mockito. I have a lot of test classes annotated with @RunWith(…

static junit mockito powermock permgen