Reputation: 91
I cannot take heap dump through VisualVM. When I click "Heap Dump" button in VisualVM 2.1.2, I get the following error:
What am I doing wrong? Am I missing a setting somewhere?
Upvotes: 1
Views: 1014
Reputation: 6981
The heap dump is fine. There is a bug in recent version of VisualVM, which checks the presence of the heap dump file on the local filesystem even though the heap dump was created on remote machine. It would be great, if you can file a bug with the description, you used above, at https://github.com/oracle/visualvm/issues. It will be fixed in VisualVM 2.1.3. Thanks.
Upvotes: 2