[Tile-serving] [osm2pgsql] Non-slim mode uses too much memory (#381)

Sarah Hoffmann notifications at github.com
Sat Jul 11 08:18:25 UTC 2015


8d803dc4d72f155dd89968916da12de297280c7f introduced a regression for middle-ram where it needs much more memory for its management structs than before. I'm no longer able to import Switzerland on a 8GB machine in non-slim mode.

I can provide a fix that reverts to having pointer arrays with dynamically allocated vectors (at the price of being marginally slower) but this will require C++11, so the libosmium branch needs to come first.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/381
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150711/f805d47b/attachment.html>


More information about the Tile-serving mailing list