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

Attachment: string_intern.patch
Description: Binary data

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to