tilemaker icon indicating copy to clipboard operation
tilemaker copied to clipboard

Basic guidance on memory requirements

Open bt-maps opened this issue 3 years ago • 2 comments

Hi,

I am looking guidance for generating tiles from a 9.8 GiB pbf extract. Should I even attempt to do it using a MacBook pro with 16gb of memory? I know it's recommended to do country by country, but hoping to get an idea of what is possible with a typical laptop. Brent

bt-maps avatar Sep 05 '21 15:09 bt-maps

With 16gb i doubt you are going to convert 9.8GiB with the current 2.0.0 release. You are probably better of splitting the region into two regions using osmium and using tilemaker --merge to combine them into a single mbtiles file. Even with this, you still have to use the --store option and have a fast ssd as a backup for the conversion process.

Work is being done on reducing the memory requirements.

kleunen avatar Sep 05 '21 15:09 kleunen

I think the guide would be. If you renumber the input file, use the compact mode and use the store. You need a bit more than twice the amount of RAM as the size of the input file.

So input file is 3G, you need 6 to 7G of ram. And planet file is 60G. So you need 120 to 130G probably.

So with 10G osm file you need 20G ram. But better is 24G.

kleunen avatar Sep 28 '21 15:09 kleunen