You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eostermueller edited this page Jan 7, 2017
·
6 revisions
This page shows heapSpank in action.
Exhibit A
This screenshot shows one piece of code, with and without a memory leak. See how LKY% goes to 100%?
Exhibit B
Perhaps this is the most common memory leak -- filling up a container that is never cleared out.
Compile and run this yourself -- should just take a minute to watch how heapSpank shows you the exact class name (MemLeak) of the culprit.
This stackoverflow question shows a number of different examples of memory leaks. I've got it on my todo list to package these up nicely for display and heapSpank demos.