Changes between Initial Version and Version 1 of Ticket #5331, comment 12
- Timestamp:
- 2012-03-23T02:57:21+01:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5331, comment 12
initial v1 1 1 I can reproduce the problem. Adding data.clear() to OsmDataLayer.java#destroy helps: Java then reports that more of the heap is free ("allocated, but free" in JOSM’s status report). 2 2 3 Analyzing the heap dumps using Eclipse’s MAT gives about the same results: If data.clear is called isheap is around 60 MB with top consumers being ImageCaches in swing.….GTKEngine and bufferedImages in MapView (so MapView seems to leak as well; at least I believe it is destroyed when there are no more layers.).3 Analyzing the heap dumps using Eclipse’s MAT gives about the same results: If data.clear is called the heap is around 60 MB with top consumers being ImageCaches in swing.….GTKEngine and bufferedImages in MapView (so MapView seems to leak as well; at least I believe it is destroyed when there are no more layers.). 4 4 5 5 Without data clear the heap uses 320 MB of which 280 belong to DataSet. The follow-ups are again GTKEngine and bufImgs in MapView.


