Revision history [back]

click to hide/show revision 1
initial version

answered 2010-01-22 02:30:44 +0800

xmedeko gravatar image xmedeko

http://xmedeko.blogspot.c...

Hi Tom,

I use JBoss tool in Eclipse to redeploy my web app. This tool just makes a simple file copy. The problem remains also when I redeploy my web app manually. I use exploded deployment. to reproduce the bug, try: 1. copy exploded deployment, 2. run the app (point browses to the proper url) 3. delete the deployment 4. repeat 1. - 3. few times

Maybe the problem is caused by this?

Probem with static ThreadLocal (ZK uses that): - http://blog.arendsen.net/index.php/2005/02/22/threadlocals-and-memory-leaks-revisited/ - [a href="http://www.jroller.com/tackline/entry/fixingthreadlocal"]http://www.jroller.com/tackline/entry/fixingthreadlocal[/a] Problem with inner classes and ThreadLocal: http://crazybob.org/2006/02/threadlocal-memory-leak.html

How to clean ThreadLocals in a servlet: http://www.dewavrin.info/?p=196

My heap dump is at: http://dl.dropbox.com/u/1372480/dump_simple.hprof (206MB, will be deleted later).

I just have started Eclipse MAT and used the function: "Duplicate Classes: Detect classes loaded by multiple class loaders."

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More