heapSpank
heapSpank copied to clipboard
Detect memory leaks in minutes without a heap dump.
I didn't know about this project, although I started doing something pretty similar with check-leak: https://github.com/check-leak/check-leak although the way I'm doing things slightly different, (I'm calling a stream exactly like...
Need to discover whether the [jmap -histo data byte counts](https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr014.html#BABJIIHH) are shallow, deep, or somewhere between. Need to use data from examples in issue #4.
need to include a handful of sample programs with leaks. Start with some of these examples: http://stackoverflow.com/questions/6470651/creating-a-memory-leak-with-java http://blog.nimbledroid.com/2016/05/23/memory-leaks.html https://github.com/CodingFabian/JavaCollectionAnalyzer/blob/master/src/main/java/de/codecentric/performance/LeakDemo.java
Yes, heapSpank can detect a leak in just minutes. BUT there is a catch. To be fully certain there is a leak, we need to see that the LKY% =...
The [jmap -histo data](https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr014.html#BABJIIHH) ends with a summary line that totals the count of instances and the count of all bytes in use, like this: `Total 61297 10152040` heapSpank needs...
Spring Boot's "Actuator" provides a dozen or more json http "endpoints" for performance/health monitoring. Need to create a new Actuator endpoint that provides heapSpank data. [Here is one guide](http://www.dineshonjava.com/2016/08/spring-boot-actuator-complete-guide.html#.WGg3prYrIxg) for...
What if your app starts leaking and crashes in the middle of the night, when there is noone around to watch/operate the heapSpank command line client. To address this problem,...
Current, glowroot provides jmap -histo output -- but it just displays one run at a time. Making decisions on a single sample like this is not a good idea. Need...
Here are the current header column names: ` LKY% (B-INC (JMH (I-INC (R-INC BYTES INSTANCES NUM CLASS` Some of these aren't very valuable, so here are proposed changes: - Because...
heapSpank only displays the top 10 candidates for memory leaks, and an algorithm chooses which 10 to display. As good stewards of the heap, we are often interested in memory...