I have generated a heap dump from my java application which has been running for some days with the jmap tool -> this results in a large binary heap dump file.
You can also use VisualVM Launcher to launch VisualVM from within IDEA.
https://plugins.jetbrains.com/plugin/7115?pr=idea
I personally find this more convenient.