Generating a heap dump using JConsole