Re: Tomcat - OOM Perm gen

2015-07-12 Thread Kiran Badi
Hi Chris, Here is link for Dump files, https://drive.google.com/folderview?id=0BxOQjvXCnkSifjZEcEYzUTNTbUFoUWdrdmMyT18wdkZDS0hEOEgwRnl6RTBWN0V6UlA1YU0usp=sharing I tried using eclipse MAT Analyser and I see most of the threads on related to tomcat web context loader. I still need to spend some

Re: Tomcat - OOM Perm gen

2015-07-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 7/5/15 10:24 AM, Kiran Badi wrote: Sorry for taking time to reply Chris. Christopher Schultz wrote: Are you periodically hot-re-deploying your application in production? If so, you may want to stop doing that, as it appears that you

Re: Tomcat - OOM Perm gen

2015-07-05 Thread Kiran Badi
Sorry for taking time to reply Chris. Are you periodically hot-re-deploying your application in production? If so, you may want to stop doing that, as it appears that you have a ClassLoader-pinning leak in your application or some dependent library I do not do hot deployment in production.But

Re: Tomcat - OOM Perm gen

2015-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 6/29/15 10:21 AM, Kiran Badi wrote: Christopher Schultz wrote: The number of users shouldn't impact your PermGen space. Perhaps only once you get to that stage are you hitting enough of your features to load classes into PermGen.

Re: Tomcat - OOM Perm gen

2015-06-29 Thread Kiran Badi
Hi Chris, The number of users shouldn't impact your PermGen space. Perhaps only once you get to that stage are you hitting enough of your features to load classes into PermGen. (Or maybe you are using String.intern a lot...) I analysed some logs and I could see that users query features which

Re: Tomcat - OOM Perm gen

2015-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kiran, On 6/25/15 6:32 PM, Kiran Badi wrote: I have 2 web apps sitting on single tomcat instance, App A( Classic JSP/Servlet/jstl/velocity App) and App B (Struts2 based app). Now I have added S2 to App A and trying to fix some bad code in it

Tomcat - OOM Perm gen

2015-06-25 Thread Kiran Badi
Hi All, I have 2 web apps sitting on single tomcat instance, App A( Classic JSP/Servlet/jstl/velocity App) and App B (Struts2 based app). Now I have added S2 to App A and trying to fix some bad code in it with it.But after making this change I keep getting out of OOM issues once user count