Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Eclipse memory analyzer on Mac os?

I have some issues with running Eclipse memory analyzer on my laptop.

This happen when i have just downloaded(from the place) and executed application:

enter image description here

enter image description here

And i can't figure out what is the cause of problem. Can someone help me???

like image 507
Sammers Avatar asked Dec 20 '17 15:12

Sammers


People also ask

How do I run a memory analyzer in Eclipse?

With the Memory Analyzer feature installed, try Window -> Open Perspective -> Other... , then select Memory Analyzer and OK. Once the MA perspecive is open, one should be able to see the Memory Analyzer specific Eclipse menus.

How do I install memory analyzer tool?

Install Eclipse MAT via the Help Install New Software… ​ menu entry. Select the update site of your release from the drop-down box and once its content is downloaded, select General Purpose Tools and its sub-entries Memory Analyzer and Memory Analyzer(Charts).


2 Answers

Move mat.app to ./Applications solve my problems

like image 135
Egos Zhang Avatar answered Sep 26 '22 04:09

Egos Zhang


It looks like a permission problem with the default directory.

From this discussion : Memory Analyzer » Setting up workspace directory?.

It is indicated that you should edit your MemoryAnalyzer.ini file, and add those lines (on two separate lines, and before the vm arguments), replacing the second with the path where you want the MemoryAnalyzer to write its content:

-data <desired path of your working directory> 
like image 44
Arnaud Avatar answered Sep 24 '22 04:09

Arnaud