Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Get Heap Dumps From Remote Server
icon5.gif  Get Heap Dumps From Remote Server [message #549720] Tue, 27 July 2010 16:51 Go to next message
Vamsi Chiluvuri is currently offline Vamsi ChiluvuriFriend
Messages: 4
Registered: July 2010
Junior Member
HI friends

I am trying to get heap dumps from a remote server(WEBLOGIC)
Is it possible to do this with MAT plugin from eclipse??
if not can someone please suggest me some tool (other then VIsualVM and jmap)
Thanks in advance

Vamsy
Re: Get Heap Dumps From Remote Server [message #550112 is a reply to message #549720] Thu, 29 July 2010 07:54 Go to previous messageGo to next message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 161
Registered: July 2009
Senior Member
Hi Vamsy,

MAT can only trigger heap dumps from processes on the same box where the tool is running. Triggering dumps on a remote machine is not possible. Internally we also call jmap to get the dumps.

As for the question about a different tool - if you manage to connect remotely with jconsole you can use then one of the MBeans to dump the heap - com.sun.management / HotSpotDiagnostic, operations -> dumpHeap.
http://java.sun.com/javase/6/docs/technotes/guides/managemen t/jconsole.html

However, then you'll have to copy the dump to a place where MAT can open it on your own.

Hope this helps.

Krum
Re: Get Heap Dumps From Remote Server [message #558044 is a reply to message #550112] Thu, 09 September 2010 22:32 Go to previous messageGo to next message
Vamsi Chiluvuri is currently offline Vamsi ChiluvuriFriend
Messages: 4
Registered: July 2010
Junior Member
Thanks for the help..
Re: Get Heap Dumps From Remote Server [message #565057 is a reply to message #549720] Thu, 29 July 2010 07:54 Go to previous messageGo to next message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 161
Registered: July 2009
Senior Member
Hi Vamsy,

MAT can only trigger heap dumps from processes on the same box where the tool is running. Triggering dumps on a remote machine is not possible. Internally we also call jmap to get the dumps.

As for the question about a different tool - if you manage to connect remotely with jconsole you can use then one of the MBeans to dump the heap - com.sun.management / HotSpotDiagnostic, operations -> dumpHeap.
http://java.sun.com/javase/6/docs/technotes/guides/managemen t/jconsole.html

However, then you'll have to copy the dump to a place where MAT can open it on your own.

Hope this helps.

Krum
Re: Get Heap Dumps From Remote Server [message #565234 is a reply to message #550112] Thu, 09 September 2010 22:32 Go to previous message
Vamsi Chiluvuri is currently offline Vamsi ChiluvuriFriend
Messages: 4
Registered: July 2010
Junior Member
Thanks for the help..
Previous Topic:ECLIPSE MAT FAILS TO OPEN DUMPS > 1.8 GB
Next Topic:memory allocation problem
Goto Forum:
  


Current Time: Tue Nov 20 00:15:26 GMT 2018

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

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

Back to the top