[Tile-serving] [openstreetmap/mod_tile] render_list does not save any tiles if killed due to running out of memory (Issue #477)

Simon Williams notifications at github.com
Mon Apr 7 14:39:15 UTC 2025


SystemParadox left a comment (openstreetmap/mod_tile#477)

Limiting the number of threads seems to help a lot. Does this mean there is no shared memory between threads so if two threads try to render tiles for a similar area they'll both load everything into memory?

I still don't understand why this works ok for less threads or when splitting it up into smaller chunks, but doesn't work if you call `render_list` with a large area and many threads. Some more detail about how memory is allocated and freed would be helpful.

At the moment it feels a lot like `render_list` *forces* it to do the specified area in one massive request that has to be loaded completely into memory at once. I would expect it to just add all the relevant tiles to the render queue and render them in the same way as when someone loads them from the map?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/477#issuecomment-2783572088
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/477/2783572088 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20250407/90cb519f/attachment.htm>


More information about the Tile-serving mailing list