Skip to Content
avatar image
Former Member

Compare Heap Dumps not working

Dear All,

Am trying to compare two heap dumps to find differences. I have read the Tutorial. I have two heap dumps open and click on the Delta button. But all I get is a message saying something like there are no two dumps open on the desktop. Can anybody help? Thanks a lot, Anthony

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 27, 2007 at 07:53 AM

    Hi Anthony,

    I have just tested the current version. I open two heap dumps, click on the delta button in the histogram and see the diffs.

    Can you give me some details a/b your version and the operating system? Plugin or standalone?

    Kind regards,

    - Andreas.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 04, 2008 at 12:54 AM


    I have the same problem. I have 2 open heap dumps and when I click the delta button it says 'No other heap dump open in editor'. How do I mark a heap dump as the baseline version?

    This is running 1.1.1 plug-in version

    Other that this, outstanding application!



    Add comment
    10|10000 characters needed characters exceeded

    • Hi Scott,

      thanks for finding this bug... 😊 It looks like we do not pick up dumps that have been opened via "Open File...". I will have a look at it.

      The context menu does not work on purpose. The problem is this: in the heap dump we only have the object address. But as the garbage collector is moving objects around, this address changes even as the object stays the same. We cannot know if the object was moved or if a new one was created.

      So one has to structurally compare the heap dump. We do this currently for the histogram on class level and on class loader level (by the extracted class loader name if a name resolver is present). For objects we do nothing at the moment. I haven't really given much thought about that, but it should be possible to compare the graph/domTree once the user picked to comparable objects (which he can, because he knows the semantics).

      Regarding open sourcing: I just spend the last 3 hours hunting a little, tiny bug that was introduced when removing some SAP specifics which we do not open source. Soon, maybe and of next week we should have something there.

      New features is an automatic leak detection, e.g. we create a HTML report with the suspectd leaks. And the handling of local variables, ie. stuff kept alive by a thread, is much easier. Ahh, and we have some pie charts now. 😊