I'd like to see things like the objects on the heap created by my simple class. However, when I use netbeans profiler to look at my running program, I see thousands of classes, presumably all the good things that java is doing behind the scenes.
Is there a way in netbeans profiler to drill down to the details of only my thread, and objects that are reachable from my thread? Are there other tools that would be good for that?
I'd like, for example, to be able to see if I'm creating any large, unnecessary objects, how much memory my objects are using up, things like that.
I'm particularly interested in mac/linux.

