Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » Dumping a running process
Dumping a running process [message #4963] Wed, 10 September 2008 22:09 Go to next message
Taras Tielkes is currently offline Taras TielkesFriend
Messages: 38
Registered: July 2009
Member
Here's one request:

When running on Java 6, it's possible to directly obtain memory dumps
from JVM6 processes running on the same host.

This can be quite useful during (local) development, as it saves the
repetitive manual jps/jmap invocations.

I did look at the implementation of the Sun 1.6 jmap tool some time ago,
and remember the relevant code to be relatively straightforward. I don't
remember if the new 1.6 Attach API was used though..

The feature would work like this:
1) Upon invoking the action, MAT lists a number of local candidate JVM
processes
2) When selecting a process and accepting, MAT instructs the target
process to perform a heap dump
3) Upon completion of the dump, MAT could ask the user if the newly
created .hprof dump should be opened immediately.

For even more UI efficiency, MAT could present a checkbox on the dialog
where a process can be selected. When the checkbox is checked, the whole
chain of dumping, indexing and loading would be performed in the
background without any UI intervention (but with a docked progress
indicator or course).

Regards,
-tt
Re: Dumping a running process [message #5100 is a reply to message #4963] Wed, 17 September 2008 19:27 Go to previous message
Andreas Buchen is currently offline Andreas BuchenFriend
Messages: 123
Registered: July 2009
Senior Member
Hi Taras,

this https://bugs.eclipse.org/bugs/show_bug.cgi?id=229449 bugzilla entry
matches your feature request. So the idea is there, but it lacks the
implementation... I can't promise you anything right now, but I understand
that it would make the tool much more accessible.

Andreas.
Previous Topic:Announcement: New Version Uploaded (5 September 08)
Next Topic:calculation of retained size for primitive arrays
Goto Forum:
  


Current Time: Thu Apr 18 23:22:09 GMT 2024

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

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

Back to the top