how generating a heap dump automatic in apache tomcat?

981 views Asked by At

I'm having trouble releasing resources in my web application, so I need to know how to configure my tomcat 7.0.41 for generate an .Hprof when will occurrence of a PermGen space.

However I have not found a way to configure it.

1

There are 1 answers

0
Big Bad Baerni On

Following a link that helped me to find and fix a resource / classloader leak in tomcat:

http://frankkieviet.blogspot.ch/2006/10/how-to-fix-dreaded-permgen-space.html