logo separator

[mkgmap-dev] Memory Consumption on Index Creation

From Steve Ratcliffe steve at parabola.me.uk on Sat Sep 24 13:02:41 BST 2011

Hi Felix

> However could you change mkgmap to delete broken mdr files if it crashes
> on low memory??
> That would be a real troublesaver!!!!

I've implemented this idea on the index-memory branch.

The mdr file is not written unless the process completes successfully, 
so you should never see a broken file due to an out of memory or any 
other fatal error.

On the other hand if there is an existing mdr file it will not
be touched, so make sure you remove any pre-existing file.

Cheers

..Steve



More information about the mkgmap-dev mailing list