[josm-dev] [PATCH] Lower memory consumption using string interning	in OsmReader
    Jiri Klement 
    jiri.klement at gmail.com
       
    Sat Mar 14 07:29:27 GMT 2009
    
    
  
Hi,
Attached is very simple patch which reduce josm memory usage.
I've made some memory benchmarks using attached patch and also earlier
timestamp and tagged patch. Here are the results:
no patch 251MB
string inter patch 224MB, 27MB saved
tagged patch 223MB, 1MB saved
timestamp patch 185MB, 38MB saved
Especially the timestamp patch saves much more memory than I have expected.
The tests were made using 80MB osm file. I've used jconsole to perform
GC and measure heap size.
--
Jiri Klement
-------------- next part --------------
A non-text attachment was scrubbed...
Name: string_intern.patch
Type: application/octet-stream
Size: 1321 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20090314/509869ba/attachment.obj>
    
    
More information about the josm-dev
mailing list