Closed arne182 closed 9 months ago
Looks like 1GB of RAM is too little. Will try again with two
2GB of RAM also failed. Trying 4GB.
4GB just failed but 4GB and cgroup_enable=memory swapaccount=1 with an 8GB swap worked. For a smaller 100M file
Would it be possible to load two regions into the same DB file?
Yes, it's possible. You would need to to point Overpass to extract that contains all needed regions, and then use osmium with -p
in OVERPASS_PLANET_PREPROCESS
to do the job for you. But this will handle only initial load, not updates. There is a small refactor needed, to handle that in update process too.
You would need also to create definitions of regions you want to extract in a file and mount it within your container.
[ ok ] osm:~# service docker start