[Tile-serving] [openstreetmap/osm2pgsql] Improved debug information about memory use of Lua (PR #1696)

Jochen Topf notifications at github.com
Sat Jul 23 13:49:00 UTC 2022


Sample memory use every 1000 function calls into Lua and and the end of the program show current and max Lua memory use.

Not sure how useful this is in actual practice, but it is worth a try.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1696

-- Commit Summary --

  * Improved debug information about memory use of Lua

-- File Changes --

    M src/output-flex.cpp (23)
    M src/output-flex.hpp (5)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1696.patch
https://github.com/openstreetmap/osm2pgsql/pull/1696.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1696
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1696 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220723/97ea717d/attachment.htm>


More information about the Tile-serving mailing list