Changes between Version 45 and Version 46 of DevelopersGuide
- Timestamp:
- 2018-01-02T12:04:29+01:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide
v45 v46 29 29 30 30 === 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 the m 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.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 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. 32 32 * [http://visualvm.github.io VisualVM] 33 * [http://www.captaincasa.com/pdf/techdoc_memprofiling.pdf Step by step guide to memory profiling with VisualVM] 33 34 34 35 If 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: