Wouter van Kleunen
Wouter van Kleunen
operator
Seems the Lua generation "OsmLuaProcessing::Layer" is the biggest bottleneck now. Also because it is called single threaded. Also: void OsmLuaProcessing::CorrectGeometry, if you disable that, it gives a measurable speedup ````...
I am seeing similar issue: 
In PR #323 I actually calculate the to-be-rendered tiles based on the bounding box of the map or command line: https://github.com/systemed/tilemaker/pull/323/commits/f6a202d8abe2aeae18f7aebf497d9d13193fb804#diff-719bd569c2b10e5463c5d7fb32a31be0ed66364e04b0d493be1ae06040cfa585R61-R83 That might be an alternative approach to calculating the...
> Ah interesting. This could reduce memory usage too. Still WIP I'm guessing? @systemed is thinking: 
Yes, i think it "crashes" here: https://github.com/systemed/tilemaker/blob/master/src/tilemaker.cpp#L439-L443 Maybe add sqlite in the if, and ignore --merge when not sqlite. Or give an error message on startup when --merge is used...
It should be multithreaded at this phase. Also reading the pbf is multi-threaded. Maybe try to start the process with explicit specify the number of threads with: --threads 96
yes, if you could investigate what the problem might be, that would be helpful, because I honestly have no clue what could be the problem. It is the windows executable,...
Without --store it does run fine ?
Hmm, only slightly smaller. It really depends on the area, on the geofabrik Africa extract, i see about 3G/4G lower memory consumption on my machine. So a huge difference. I...