4 ms·
This looks great! Is there a similar project for memory leak detection in Java? I know that Java is using a virtual machine and is not supposed to have memory
by opendomain 15y ago
This looks great! Is there a similar project for memory leak detection in Java? I know that Java is using a virtual machine and is not supposed to have memory leaks, but we have some code that uses external libraries and our HEAP becomes consumed within 1-2 days.
- riffraff 15y agoyourkit, is a wonderful tool. It's commercial but you should be able to get a trial license.
- nitrogen 15y agoHave jvisualvm and jconsole been of any help? Those are two tools I wish I'd been introduced to when I first started programming in Java.
- aaronblohowiak 15y agoThere are leaks, and then there are "leaks". Memory that you have allocated and no longer have a reference to is a leak. Memory that you have a reference to but have stopped having use for is a "leak". It is hard to build tools to detect "leaks" because you don't know if the programmer intended to have a boundlessly growing collection or if it was an accident.