following this general Netbeans tutorial https://netbeans.org/kb/articles/nb-profiler-uncoveringleaks_pt1.html, I tried to profile my game project in suspicion of a memory leak (possibly in relation to Bullet Physics).
So as I figured that the Netbeans Profiler isn’t bundled with the JME SDK I went to the Plugins manager and installed the “Java Profiler” plugin.
Although it seems to be a different tool as to what they use in the mentioned tutorial, I can now monitor memory usage, garbage collection and other useful stuff while my application is running.
And indeed there seems to be a memory leak because after some time the number of Surviving Generations in GC is steadily increasing!
Now I want to discover the source and following the tutorial I should “Record stack trace for allocations” to give me hints about where the memory leak is coming from.
But since the Java Profiler Plugin looks very different than what is shown in the tutorial (the bundled Netbeans Profiler) I can’t find this “Record stack trace for allocations” option or even how to switch the profiling mode to “Memory Mode”.
Where can I find these options? Does anybody have experience with this tool?
Added a screenshot of the profiler plugin I’m using while memory is leaking.