I'm trying to use NetBeans to compare two heap dumps taken seconds apart
to help me find a memory leak. The heapdumps are of GlassFish with my
app running inside. I took them using VisualVM. VisualVM did not
detect the GlassFish running as a windows service, so I had to connect
to it using JMX. I think I lose a lot of VisualVM features when doing that.
Anyway, NetBeans doesn't seem to let me compare two heap dumps, it wants
Profiler Snapshots (.nps files). Any idea how I can do this with
GlassFish running as a Windows service? Maybe I need to stop the server
and start it from the command prompt so that Visual VM can attach to it.
Thanks,
Ryan