Memory leak in MIDI
I tried using this to display MIDI code on the console, found that memory keep going up by 4Kb by 4Kb or more even when there is no midi event input. Wonder what caused memory leak?
http://www.jsresources.org/examples/MidiI开发者_如何学运维nDump.html
Which profiler help to identify which function caused the leak?
Would appreciate if you can help testing the code.
Your JDK comes with jvisualvm.
See also The Best Kept Secret in the JDK: VisualVM.
精彩评论