logo separator

[mkgmap-dev] [PATCH]splitter memory usage

From WanMil wmgcnfg at web.de on Sun Nov 6 13:13:18 GMT 2011

Thanks for your analysis and your patch.

I do not have enough time to check if the patch produces the same valid 
results. But to me it sounds like a good aproach.

Therefore I created a branch memory_optimization including your patch so 
that your changes might be tested more easily by a bigger group of people.
The compiled release of the branch should appear automatically at 
http://www.mkgmap.org.uk/splitter/. If that's not the case Steve might 
has to do some configuration stuff on the webserver?

WanMil

> http://gis.638310.n2.nabble.com/file/n6958659/splitter_memory.patch
> splitter_memory.patch
>
> This patch reduces memory requirement in splitter by ~50% by replacing class
> SparseInt2ShortMultiMap with class Node2AreaMap.
> It also includes small performance tweaks.
>
> Still not solved by this patch:
> - Memory usage depends on the highest node id in the data.
> - Node id>  Integer.MAX_VALUE do not work (not a problem at this moment)
>
> If this small patch is okay for you, I can provide a bigger one that also
> fixes these issues, but touches many more files
>
> Ciao,
> Gerd
>
> --
> View this message in context: http://gis.638310.n2.nabble.com/PATCH-splitter-memory-usage-tp6958659p6958659.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list