I've been debugging what I was told was a "memory leak" but comparing the old gen graphs of the bad build and the good build, they look almost identical. Is it safe to call this as not a memory leak or is there something else I could be missing?
Asked
Active
Viewed 369 times
1 Answers
1
Yes, you would expect it to appear in the old generation, but I have seen cases where poorly written code is constantly destroying unused objects but then recreating them from unpurged data elsewhere.
The net result was a lot of stuff in Eden, and very little ever getting beyond tenured memory or more static parts of the memory model. This resulted in a lot of full GCs, but nothing obviously affecting the tenured memory.

Chris Cooper
- 4,982
- 1
- 17
- 27
-
Quite uncommon leak I guess. – atamanroman Mar 05 '13 at 19:12