Wouter van Kleunen

Results 179 comments of Wouter van Kleunen

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: ![image](https://user-images.githubusercontent.com/230050/133826753-a0c5662e-1955-4f1f-80ca-b40776c84b12.png)

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: ![051329b256f3e0183136351d304ee2bb31f462-wm](https://user-images.githubusercontent.com/230050/137973123-a5ccefc5-8b6a-4697-86e2-b66ebec57d83.jpg)

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...