logo separator

[mkgmap-dev] [PATCH v5] make maps in parallel

From Mark Burton markb at ordern.com on Wed May 13 14:32:26 BST 2009

Hi Clinton,

> Hm... I tested the v5 patch on a 2 core machine (MS Vista).
> 
> Although the processing time appeared to be greatly increased :-),
> many files were skipped :-(.
> 
> I attempted to compile a map of Germany split into 37 tiles, numbered
> 63240001.osm.gz to 63240037.osm.gz.
> 
> - mkgmap only created 21 img files, skipping 63240001.img and
> 63240017.img - 63240026.img and 63240032.img - 63240036.img
> 
> The command line looked like this:
> 
>   java -Xmx1536M -jar \mkgmap.jar [options] 63*.osm.gz
> 
> Does this help?

Not a lot!

Seriously, something is badly wrong there. Just to confirm, you haven't
changed how you invoke mkgmap from the previously successful runs have
you?

Please try specifying --max-jobs=1 so that only one thread is active and
see if it's OK.

Also, you should get diagnostic messages at the INFO level that say
when the processing of each map starts and ends.

Cheers,

Mark



More information about the mkgmap-dev mailing list