[Tile-serving] [openstreetmap/osm2pgsql] possible memoryleak with 1.5.0 (#1539)
Jochen Topf
notifications at github.com
Sat Jul 17 12:14:08 UTC 2021
The `--cache 16000` doesn't mean it is supposed to only use 16GB of RAM, it just means that one part of osm2pgsql (the cache) will use a maximum of 16GB. There are other parts that need RAM, so it is totally normal that you get beyond the 16GB. And yes, this is a little bit confusing. I am not sure why this changes in 1.5.0, that's something I will need to look into.
When using the flat node store, we recommend setting the cache to 0, the cache doesn't make much sense in that case and with 16GB more, there is a chance this will run through, though importing the whole planet with anything less than 64GB is going to be a stretch and take a long time.
--
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/1539#issuecomment-881888990
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210717/aef063b6/attachment.htm>
More information about the Tile-serving
mailing list