4 ms·
Now I'd like to hear if anyone has any tips on how to go from the "Alloc. Size" sorted heap dump where you can clearly see a huge array of waste, to the actual
by tedeh 7y ago
Now I'd like to hear if anyone has any tips on how to go from the "Alloc. Size" sorted heap dump where you can clearly see a huge array of waste, to the actual location/initialisation point of the array in your code base. Trivial when you have one file and two external libraries, maybe not so trivial when you have hundreds of files and hundreds of libraries.
- wonnage 7y agoUsually the best method is to take two dumps and diff them. Just because something shows up big in a heap dump doesn't mean it's a leak, it needs to be big and continually growing.