
Hi, attached is another patch to reduce peak memory usage in mkgmap. - reduce initial size of typically ArrayList instances which typically contain few entries - free way after it was converted in ElementSaver - free the precomp-sea index in SeaGenerator after usage (the related HashMap requires ~17Mb) for each job. I do not yet understand why this is index is a ThreadLocal. I guess it was planned to have a single thread just for the index? I think that would be good, but I don't want to change that part now because it will probably be changed in the mp_cut branch. Ciao, Gerd -- View this message in context: http://gis.19327.n5.nabble.com/reduce-peak-mem-v1-patch-tp5743803.html Sent from the Mkgmap Development mailing list archive at Nabble.com.