Skip to main content

Memory Analyzer (MAT) error when opening larger Heap dumps

  • June 3, 2021
  • 1 reply
  • 713 views

Nimesh Kasun
Hero (Employee)
Forum|alt.badge.img+10

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.

 

 

Problem

Error when opening larger Heap dumps.

 

Reason

Eclipse Memory Analyzer does not have enough heap space to open the Heap dump file.

 

Solution

  1. open the MemoryAnalyzer.ini file

 

  1. 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!

This topic has been closed for comments

1 reply

Bhanuka Senevirathne
Sidekick (Employee)
Forum|alt.badge.img+6

Valuable Information Thanks for Sharing..!!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings