0 Replies Latest reply: Dec 21, 2009 5:32 PM by 843798 RSS

    jmap: portability and safety for snapshotted process?

      I'm working on tracking down a memory leak in a java application that's at the heart of my employer's business. Right now, we're restarting it periodically, and watching it closely with nagios.

      I'd like to do a jmap dump and jhat analysis of the heap while it has a lot of memory in use - but before I do, we need to answer the question: "Is there any risk to the process inspected?" Has anyone ever seen or heard of a java process getting messed up (say, writing corrupted data?) as a result of a jmap?

      Another, slightly less important question is: Can I jmap on a windows machine and analyze the resulting file on a Linux machine?