"IBM dump (using helper VM)" heap dump provider missing [message #629790] |
Wed, 29 September 2010 14:18  |
Eclipse User |
|
|
|
Hi All,
I'm using MAT on 2 computers. On the first one I have "IBM dump (using
helper VM)" as heap dump provider available. On the other one I only
have "IBM dump (using Attach API)". With the latter one I cannot aquire
a dump from one of my application (because it runs in its own JRE).
Using the helper VM method on the first PC works.
So why do I only have the Attach API provider and not the helper VM
provider? How do I change this?
Computer 1 (where it works):
IBM Java SDK 6
Computer 2 (where it does not work):
IBM Java SDK 5 and 6
--> I tried to start MAT with both JREs but it didn't work.
Any help is appreciated,
Regards
|
|
|
Re: "IBM dump (using helper VM)" heap dump provider missing [message #632036 is a reply to message #629790] |
Mon, 11 October 2010 10:14  |
Eclipse User |
|
|
|
The acquiring IBM heap dumps code uses two slightly different ways.
If the VM running Memory Analyzer is a recent IBM Java 6 VM, then Memory Analyzer can use the Attach API to directly connect to the target VM.
If the VM running Memory Analyzer is older then Memory Analyzer needs to start a child process running a recent IBM Java 6 VM which can then connect to the target VM using the Attach API.
The target VMs need to run quite a recent version of IBM Java too.
If "IBM dump (using helper VM)" works on one machine, but "IBM dump (using Attach API)" doesn't on another then try using a more recent IBM VM to run Memory Analyzer and the target system. Alternatively, if you ran Memory Analyzer with an old IBM VM then it would give you the "IBM dump (using helper VM)" option.
|
|
|
Powered by
FUDForum. Page generated in 0.03206 seconds