Tuning JVM parameters to avoid java.lang.OutOfMemoryError: PermGen space

524 views Asked by At

I'm getting an error "java.lang.OutOfMemoryError: PermGen space" very often (1-2 times per week) and I cannot localize the problem.

Thread dump shows no blocked processes. And a heap dump cannot be done when this error occurs (even when parameter Heap dump on OOME: enabled). I've tried many options when restart the JVM but nothing helps. Maybe somebody knows what can be a problem seeing this screenshots from Java VisualVM?

Tomcat 6, Java 1.6.

Overview JVM parameters: enter image description here

Monitor: enter image description here

Monitor (PermGen):enter image description here

0

There are 0 answers