Get Heap Dumps From Remote Server [message #549720] |
Tue, 27 July 2010 16:51  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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 #565057 is a reply to message #549720] |
Thu, 29 July 2010 07:54   |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02756 seconds