20-things-v2

http://www.slideshare.net/benjaminling/20-things-v2

Advertisements

-XX:PermSize

Perm Gen Space: Classes are stored here. And this space is ot included in the Heap Size. When classes that are no longer are not released this causes the Perm Gen Space to leak.

Typically an Object refers it’s class which refers it’s class loader and a class loader itself refers other classes. So if we have Long Running Threads (that doesn’t respond to shutdown events) or Loaded Drives then that means they can cause the Perm Gen to Leak.

http://plumbr.eu/blog/what-is-a-permgen-leak

https://blogs.oracle.com/jonthecollector/entry/presenting_the_permanent_generation

http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Finding_memory_leaks

http://plumbr.eu/blog/

http://www.eclipse.org/mat/

http://java.dzone.com/articles/memory-leak-protection-tomcat

http://wiki.apache.org/tomcat/MemoryLeakProtection