If you're getting the following error when opening a large Heap dump file via Eclipse Memory Analyzer (MAT), follow the steps given to solve the issue.
Error when opening larger Heap dumps.
Eclipse Memory Analyzer does not have enough heap space to open the Heap dump file.
- open the MemoryAnalyzer.ini file
- change the default -Xmx1024m to a larger size (Ex: Xmx2048m)
Now you’ll be able to open the Heap dump file.
Hope this helps. Cheers!