Skip to content
Discussion options

You must be logged in to vote

OK. The problem is solved by limiting the memory usage for wsl in .wslconfig file (yes, it was on Windows)
For ex.:

[wsl2]
memory=50GB # Limits VM memory in WSL 2
swap=150GB

It took about 19 hours to process Europe on my 64GB, 8 core machine. Actually, the memory limit can be smaller but it will impact the processing time. For ex, with memory=20GB it took me about 3,5 days to do the same on 6 core machine with 32GB RAM. Nevertheless, no mater how much physical memory you have you can still unpack pbf files using osrm-backend container. You just need to set memory limits explicitly

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by o-mos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant