Changes between Version 45 and Version 46 of DevelopersGuide


Ignore:
Timestamp:
2018-01-02T12:04:29+01:00 (6 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide

    v45 v46  
    2929
    3030=== VisualVM ===
    31 VisualVM may be used to find memory leaks or generate heap dumps from a josm instance running concurrently. Heap dumps can be structurally examined. VisualVM organizes them e.g. by number and type of objects, memory used and cpu time consumed in an explorable tree view. Heap dump and garbage collection of the target instance is requestable using button clicks.
     31VisualVM may be used to find memory leaks or generate heap dumps from a josm instance running concurrently. Heap dumps can be structurally examined. VisualVM organizes the dump data e.g. by number and type of objects, memory used and cpu time consumed in an explorable tree view. Heap dump and garbage collection of the target instance is requestable using button clicks.  Be aware that the default configuration of the memory sampler will sample VisualVM generated objects as well, which may be confused as a memory leak.  The memory profiler can be set to profile specific classes only, it tracks allocations once started.
    3232* [http://visualvm.github.io VisualVM]
     33* [http://www.captaincasa.com/pdf/techdoc_memprofiling.pdf Step by step guide to memory profiling with VisualVM]
    3334
    3435If an autonomous instance of josm should be debuggable from within eclipse at the same time, command line parameters must be supplied to open a transport socket that the debugger can connect to: