]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
doc: technical/memory: add note about mwrap-perl
authorEric Wong <e@80x24.org>
Thu, 9 Mar 2023 19:28:37 +0000 (19:28 +0000)
committerEric Wong <e@80x24.org>
Fri, 10 Mar 2023 01:12:23 +0000 (01:12 +0000)
It's already fixed memory usage problems not only in our codebase,
but also the standard `Encode' XS module and `git pack-objects'.

Documentation/technical/memory.txt

index ea7fb7b710e1673f196576203aa76b6ede1e2a21..a35b2c7344098fdf5b8ab41d427e821038bf6644 100644 (file)
@@ -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