[Tile-serving] [openstreetmap/osm2pgsql] Bus Error in wkb.hpp (#806)
Kimmo Brunfeldt
notifications at github.com
Thu Mar 26 09:30:28 UTC 2020
This is an old thread but since this was one of the only Bus error issues, I wanted to give my additions. In my case, the issue was simply running out of disk space inside a Docker container. I'm importing a single country with the following command:
```
osm2pgsql -U osm -d osm -H localhost -P 5432 --create --slim \
--flat-nodes osm2pgsql_flat_nodes.bin \
--cache 4096 --number-processes 1 --hstore \
--disable-parallel-indexing \
--style openstreetmap-carto.style --multi-geometry \
europe-finland.osm.pbf
```
I'm running the import inside Docker, Macbook as the host. I gave Docker for Mac 8 cores, 8GB RAM, and 128GB disk space and the importing seems to work now. Having 64GB disk space was not enough.
Hope this helps someone else later!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/806#issuecomment-604322835
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200326/64f06a7d/attachment-0001.htm>
More information about the Tile-serving
mailing list