[Tile-serving] [openstreetmap/osm2pgsql] Ambiguous -C/--cache switch in man page? (Discussion #1588)
Jochen Topf
notifications at github.com
Tue Dec 7 08:11:41 UTC 2021
You can set the `-C, --cache` option in non-slim mode, it just isn't doing anything. Osm2pgsql ignores it in that case, because in non-slim mode all the nodes are in RAM anyway, so using the cache would use *more* memory without any actual benefit. In earlier versions of osm2pgsql this was actually the case: The cache was used, essentially storing some data twice.
I agree that the documentation is confusing and the manual on osm2pgsql.org is partially wrong, so that's definitely something we need to improve.
--
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/discussions/1588#discussioncomment-1763262
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20211207/9d526760/attachment.htm>
More information about the Tile-serving
mailing list