[Tile-serving] [osm2pgsql] Reduce memory usage of node cache (#360)
Paul Norman
notifications at github.com
Thu Jun 18 17:37:18 UTC 2015
```
LD_LIBRARY_PATH=$HOME/boost/lib time ~/osm2pgsql/osm2pgsql -d gis \
--cache 12000 --flat-nodes nodes.bin --slim --drop \
--number-processes 8 -S ~/openstreetmap-carto/openstreetmap-carto.style \
planet-150202.osm.pbf
...
Processing: Node(2715740k 2538.1k/s) Way(0k 0.00k/s) Relation(0 0.00/s)Switching to read mode
Switching to read mode done
Warning: reading node outside node cache. (18446744072741715967 vs. 200542)
Warning: reading node outside node cache. (18446744072741715967 vs. 274057218)
Warning: reading node outside node cache. (18446744072741715967 vs. 1024965354)
Warning: reading node outside node cache. (18446744072741715967 vs. 200550)
Warning: reading node outside node cache. (18446744072741715967 vs. 1024940305)
Warning: reading node outside node cache. (18446744072741715967 vs. 1024940306)
Warning: reading node outside node cache. (18446744072741715967 vs. 1024940307)
Warning: reading node outside node cache. (18446744072741715967 vs. 200551)
Warning: reading node outside node cache. (18446744072741715967 vs. 200553)
Failed to seek to correct position in node cache: Invalid argument
Error occurred, cleaning up
Command exited with non-zero status 1
```
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/360#issuecomment-113231028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150618/08070580/attachment.html>
More information about the Tile-serving
mailing list