Hello,
I am using thread local to manage my hibernate sessions. Recently I have been seeing OutOfMemory exceptions on my production server. I ran Eclipse MAT on the heap_dump and saw a lot of my sessions are not getting garbage collected even though they are being closed due to them being referenced by tomcatse ThreadWithAttributes object. This is driving me crazy right now I have seen a lot of posts with similar questions on different forums but no answers. Any assistance will be greatly appreciated.
Thanks