Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Problems with getting reports running remotely(Problems with getting reports running remotely)
Problems with getting reports running remotely [message #1829818] Sat, 11 July 2020 08:59 Go to next message
Rafał Kuć is currently offline Rafał KućFriend
Messages: 1
Registered: July 2020
Junior Member
Hi,

I'm trying to analyze a rather large heap of my application. I have a heap dump of 64GB and I'm using MAT on a remote machine. The problem is that I don't get any reports generated by MAT.

For example, I run the following command:

./ParseHeapDump.sh /data/heap_dump.hprof org.eclipse.mat.api:suspects org.eclipse.mat.api:overview org.eclipse.mat.api:top_components -vmargs -Xmx96g -XX:-UseGCOverheadLimit > /data/mat.out


After executing the above I only get the following files created:

-rw-r--r-- 1 root root 64093067681 Jun 30 21:06 heap_dump.hprof
-rw-r--r-- 1 root root  1192402213 Jul 11 00:51 heap_dump.temp.a2s.index
-rw-r--r-- 1 root root 11507502952 Jul 11 00:52 heap_dump.temp.o2hprof.index
-rw-r--r-- 1 root root           0 Jul 11 10:18 heap_dump.temp.outbound.index
-rw-r--r-- 1 root root       80457 Jul 11 10:18 heap_dump.threads


As you can see some data was created, but not the suspects report for example. The heap_dump.threads contain information from the heap and it seems correct. It also seems that MAT finished successfully. Am I don't something wrong?

Btw - I have enough space on the device, so that is not an issue.

Thanks for any pointers :)
Re: Problems with getting reports running remotely [message #1829832 is a reply to message #1829818] Sun, 12 July 2020 08:46 Go to previous messageGo to next message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
I would have expected to see a /data/mat.out file created immediately from your redirect and for that to have some useful information.

Also check the workspace/.metadata/.log file in your Memory Analyzer directory.
Re: Problems with getting reports running remotely [message #1834859 is a reply to message #1829818] Thu, 19 November 2020 09:41 Go to previous message
Gregor Kofler is currently offline Gregor KoflerFriend
Messages: 1
Registered: November 2020
Junior Member
I have the same issue - the log does not reveal that much

!SESSION 2020-11-19 07:22:49.253 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.8
java.vendor=SAP SE
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
Command-line arguments:  -os linux -ws gtk -arch x86_64 -consoleLog -debug

!ENTRY org.eclipse.mat.ui 1 0 2020-11-19 07:22:56.211
!MESSAGE Detected compressed references, because with uncompressed 64-bit references the array at 0x100001928 would overlap the array at 0x1000015c8

!ENTRY org.eclipse.mat.ui 1 0 2020-11-19 07:26:43.476
!MESSAGE Wrote threads call stacks to /home/ubuntu/java_dumps/dsw2104-13-11-2020_084156.threads

!ENTRY org.eclipse.mat.ui 1 0 2020-11-19 07:26:48.484
!MESSAGE Heap /home/ubuntu/java_dumps/dsw2104-13-11-2020_084156.hprof contains 786,464,239 objects
!SESSION 2020-11-19 08:10:44.413 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.8
java.vendor=SAP SE
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.ui.ide 4 4 2020-11-19 08:11:07.067
!MESSAGE The file 'dsw2104-13-11-2020_084156.temp.outbound.index' could not be opened.
See log for details.

!ENTRY org.eclipse.ui 4 0 2020-11-19 08:11:07.068
!MESSAGE No editor found to edit the file resource.

Previous Topic:Creating MAT Plugin guidance
Next Topic: MAT doesn't respond to any mouse click on Mac OS
Goto Forum:
  


Current Time: Tue Jan 21 11:31:57 GMT 2025

Powered by FUDForum. Page generated in 0.02718 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top