In Help
> Install New Software...
, enter the following update site URL: http://download.eclipse.org/mat/1.5/update-site/
(http://download.eclipse.org/mat/1.1/update-site/ does not exist.)
سؤال
Cannot figure out how to install MAT (memory analyzer tool) into Eclipse. Need this program to analyze heap of my Android app that is leaking.
Feel stupid, sorry ;-(
What is the steps exactly?
How should I do in Eclipse? Choose the Android SDK manager or go to help =>install new software => then enter a url string in the field (http://download.eclipse.org/mat/1.1/update-site/)?
Have tried both - nothing seem to work right now.
Many thanks for a description :-)
المحلول
In Help
> Install New Software...
, enter the following update site URL: http://download.eclipse.org/mat/1.5/update-site/
(http://download.eclipse.org/mat/1.1/update-site/ does not exist.)
نصائح أخرى
Install Memory Analyzer Tool (MAT) on Eclipse
We need to install two eclipse plugins
——————————————————————————————
Install BIRT Chart Engine plugins
Name : BIRT Chart Engine.
Source: http://wiki.eclipse.org/BIRT_Update_Site_URL
Now select only Birt Chart Engine and Go for Install.
——————————————————————————————
Install MAT plugins
Name : MAT
Source:http://www.eclipse.org/mat/downloads.php
Now select MAT and Birt Chart Plugin for MAT and Go for Install.
——————————————————————————————
Get Heap Dump of Android Project
Once you installed ..
Click the "Dump HPROF File" icon in the Devices view's toolbar (looks like a half-filled can with a downward-pointing arrow)
Select the option Leak Suspects Report and click Finish.
You can go to Help -> Install New Software.... Paste http://download.eclipse.org/mat/1.4/update-site/ in Work with field and press Enter. Then follow the steps you will be able to install the plugin. It's the same as other plugins installation.
The major challenge is how to use Memory Analyzer Tool. To use the Memory Analyzer Tool in Eclipse, you can follow the tutorial Use Memory Analyzer Tool in Eclipse
Go to HELP>INSTALL NEW SOFTWARE >ENTER NAME(MAT) AND LINK( http://download.eclipse.org/mat/1.3/update-site/)
This will work .
The minimum Java version required to run Memory Analyzer is 1.5
A solution to install the latest version of MAT, rather than the hard linked previous versions given in other answers:
Visit this site, and copy the URL next to "Update Site: ".
In Eclipse, go to Help>Install New Software and paste the URL you just copied. Name it MAT, and then select the parts you want. Follow the dialogues, restart Eclipse, and you should be good to go.
The latest version of MAT is 1.3.1, as of writing this answer.
For me, this link helped me.Its generic way just Change the version number according to you eclipse, It is a just and drag and drop approach.
http://download.eclipse.org/mat/<1.5 change it>/update-site/
if you don't want to drag and drop.
Link: https://marketplace.eclipse.org/content/memory-analyzer-0