tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Weaver <garyswea...@gmail.com>
Subject Suggestions for really getting to the bottom of memory leak issues on hot-deploys
Date Tue, 10 May 2011 19:55:53 GMT
Here's what I did and what little I came up with:
http://stufftohelpyouout.blogspot.com/2011/05/diagnosing-webappportlet-hot-deploy.html

I'm definitely not an expert at diagnosing leaks, so if you have any
recommendations/comments, please let me know.

I unfortunately started off just thinking I could tune JVM settings, not
just by bumping up permgen but by adding things like:

 -XX:+UseParNewGC
 -XX:+UseConcMarkSweepGC
 -XX:+CMSPermGenSweepingEnabled
 -XX:+CMSClassUnloadingEnabled

But, I was (really) wrong as you can see in the post, along with the various
tools used to try to identify what was causing the issue(s).

It doesn't seem like determining exactly what is leaking memory (at least in
the case of permgen and hot-redeploys/hot-deploys) is a whole lot easier
than it was years ago, unless I'm doing something wrong, which I most likely
am. Thanks in advance for any feedback!

Gary

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message