From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id BB03F1F43D for ; Thu, 9 Mar 2023 19:28:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1678390122; bh=C3CIabzQIL/ELI+C5qQz5glRI2RAxxoVMwzPgMOcfEg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Tf1kjmHfAYQ6UpCzieEbHQCPMxZ+yki6edUuhG0xizWza9hUVLhRFSO/+e578A662 gpUa36sxehoWmwSmkpKXgqoF8/wcxo8gz6O8J2VY1XlXS1AJ5fovJrHBOtNyLkYbm0 nHxyN9rJ9rVyG/LVkQeSdOBXzuEJLXJgT5eixc/Y= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/6] doc: technical/memory: add note about mwrap-perl Date: Thu, 9 Mar 2023 19:28:37 +0000 Message-Id: <20230309192842.625820-2-e@80x24.org> In-Reply-To: <20230309192842.625820-1-e@80x24.org> References: <20230309192842.625820-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/technical/memory.txt b/Documentation/technical/memory.txt index ea7fb7b7..a35b2c73 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