3 ms·
I'm amazed that nobody mentioned in comments that this memory leak is not a "typical" memory leak, but rather quite an obscure one. It happened to me once (thr
by haddr 9y ago
I'm amazed that nobody mentioned in comments that this memory leak is not a "typical" memory leak, but rather quite an obscure one.
It happened to me once (through some 3rd party library), and before that I had no idea that PermGen leaks even exist...
I'm not sure if you can spot this memleak by only monitoring the heap space. The good news is that you can observe it in VisualVM when you watch the "classes" chart (loaded classes count, bottom left) and "PermGen" tab (top right, but you have to click the PermGen tab).