[Tile-serving] [openstreetmap/mod_tile] Examine memory usage for potential leaks (Issue #445)
Hummeltech
notifications at github.com
Fri Jun 14 23:12:17 UTC 2024
> Here's a quick and dirty visualization of the respective memory footprints. All tests are done consecutively, but plotted on the same (relative) time axis.
>
> Conclusions so far:
>
> * `jemalloc` seems the only one that returns substantial memory to the system
>
> * `tcmalloc` seems to not ever return anything, maybe additional configuration is required?
>
> * `glib` does have a dip here and there - are those just "lucky" allocations that reduced the top-of-heap?
>
>
> Timeline: 0s: start `renderd` - it loads the mapnik style file within ~10-15 seconds 30s: issue render request for all tiles at zoom level 6 45s-100s: database is churning like crazy, `renderd` threads are mostly idle 100-220s: `renderd` threads are using up CPU and memory 220s-250s: render_list exits, all rendering is done 300s: benchmark stops
>
> 
@rolandbosa IIRC, some of `mod_tile`'s dependencies are likely the cause of the high memory consumption displayed in this chart. I will have to more closely at it again, but thank you very much for compiling this!
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/445#issuecomment-2168869031
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/mod_tile/issues/445/2168869031 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240614/51b2fe88/attachment.htm>
More information about the Tile-serving
mailing list