From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:aed:39e7:: with SMTP id m94mr26558835qte.0.1562075045319; Tue, 02 Jul 2019 06:44:05 -0700 (PDT) X-Received: by 2002:aca:ed50:: with SMTP id l77mr3118623oih.157.1562075045022; Tue, 02 Jul 2019 06:44:05 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!m24no3918402qtm.0!news-out.google.com!4ni522qtw.1!nntp.google.com!m24no3918400qtm.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 2 Jul 2019 06:44:04 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=136.163.203.5; posting-account=HFCrOQoAAABZD_f-UUbYHm3lJDIrh-UX NNTP-Posting-Host: 136.163.203.5 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Can I get Buffer Contents of unreleased memory when running gnatmem? From: joakimds@kth.se Injection-Date: Tue, 02 Jul 2019 13:44:05 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56804 Date: 2019-07-02T06:44:04-07:00 List-Id: Den tisdag 2 juli 2019 kl. 15:14:08 UTC+2 skrev Petter Fryklund: > Hi all, > I'm trying to eliminate memory leaks. I find gnatmem very useful, but now I'm having problems identifying the culprit(s). Is there anyway to find out the contents of the unreleased memory? > > Regards, > Petter Hi Petter, Don't know about gnatmem but Valgrind is nice for finding memory leaks in Linux applications. Another alternative for finding memory leaks is using GNAT.Debug_Pools: https://www.adacore.com/gems/gem-77 My guess is that you already know of these alternatives but mention them anyways. Best regards, Joakim