brgmx5
6
I’ve tried again on a different machine: a Vista PC with 1GB RAM and a 1.73GHz CPU. I’m running mkgmap version 590 with Java version 6 update 7 (build 1.6.0_07-b06).
I used the england.osm.bz2 file from http://download.geofabrik.de/osm/europe/great_britain/ as suggested by extremecarver. This file is 874.3 MB unpacked, so smaller than the 1.2 GB uk-080924.osm file from http://nick.dev.openstreetmap.org/downloads/planet/
that I was using previously. (Why are these files dated only 5 days apart so different in size, with the later one smaller?)
The new machine looked better: the CPU ran at nearly 100% until it crashed after a minute or so, but at least it gave error messages as follows:
C:\Users\brgmx5\Documents\My Garmin\mkgmap>java -Xmx512M -jar mkgmap.jar england.osm
SEVERE (BufferedWriteStrategy): Map is too big and will not work
[message repeated many times]
SEVERE (BlockManager): overflowed directory with max block 202, current=203
Directory overflow. Map will not work
[message repeated bumping current= by 1 until…]
SEVERE (BlockManager): overflowed directory with max block 202, current=265
Directory overflow. Map will not work
C:\Users\brgmx5\Documents\My Garmin\mkgmap>
At the time of the crash it has created a 32MB 63240001.img file
–
I now think that my original PC with 512MB RAM is just too small to do this stuff, and that what I originally interpreted as mkgmap hanging was probably the thing continually thrashing its swap file and getting nowhere.
It would be really helpful if someone could take a quick look at these messages and confirm that this is the input file too big issue. It would also be useful to know what the input file size limit is, if it’s not too complicated a function of operating environment/system configuration/physical memory/swap file size etc.
Could people also quickly say what size .osm files they’ve been able to process with what kind of spec Windows PCs?