cancel
Showing results for 
Search instead for 
Did you mean: 

Problem starting mat on x64 Linux

Former Member
0 Kudos

Hi,

Not sure what is going on here. I managed to use the command line to build an index file with Memory Analyzer, from a post elsewhere on this forum.

But when I run Memory Analyzer with "./MemoryAnalyzer /hfiles/hd.prof" I ge tno UI and it returns to the prompt after about 5 seconds, no UI, nothing. Including no logs in the configuration directory.

I am running JVM 1.5.0_16 x64 on RHEL 4. hd.prof is 4GB.

What can I do to at least see some debug for Memory Analyzer startup?

Thx.

David

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member197208
Participant
0 Kudos

Try running

./MemoryAnalyzer -consolelog

to see more.

This should print some more info to the console. Often the problem is the JDK. MAT needs at lease JDK 5.

Edit the MemoryAnalyzer.ini if necessary. More information can be found here:

http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.user/tasks/running_eclipse.htm

To parse a heap dump from the command line, run the following command

./ParseHeapDump <path/to/heap> (part of the latest ZIP download)

or

./MemoryAnalyzer -consolelog -application org.eclipse.mat.api.parse <path/to/heap>

Andreas.

Edited by: Andreas Buchen on Sep 11, 2008 4:22 PM

Edited by: Andreas Buchen on Sep 11, 2008 4:22 PM

Former Member
0 Kudos

Hi,

I found there was another 32 bit JVM and it was being used. So used the -vm argument to pick up the correct 64 bit JVM required by the SWT libraries. There was a log, forgot to use ls -a, doooh!

Thx.

David