From: Eric Wong Date: Thu, 9 Mar 2023 19:28:37 +0000 (+0000) Subject: doc: technical/memory: add note about mwrap-perl X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf59a6d3451b4fa710e552e9bef8b04542ab895;p=thirdparty%2Fpublic-inbox.git doc: technical/memory: add note about mwrap-perl It's already fixed memory usage problems not only in our codebase, but also the standard `Encode' XS module and `git pack-objects'. --- diff --git a/Documentation/technical/memory.txt b/Documentation/technical/memory.txt index ea7fb7b71..a35b2c734 100644 --- a/Documentation/technical/memory.txt +++ b/Documentation/technical/memory.txt @@ -48,3 +48,9 @@ In the future, our internal data model will be further flattened and simplified to reduce the overhead imposed by small objects. Large allocations may also be avoided by optionally using Inline::C. + +Finally, the mwrap-perl LD_PRELOAD wrapper was ported to Perl 5 +and enhanced to provide live memory usage tracking on 64-bit systems +with minimal performance impact on production traffic: + + git clone https://80x24.org/mwrap-perl.git