comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: How to optimize use of RAM/disk access ?
Date: Sun, 11 Feb 2018 12:38:11 +0100
Date: 2018-02-11T12:38:11+01:00	[thread overview]
Message-ID: <p5p9v3$1v69$1@gioia.aioe.org> (raw)
In-Reply-To: 91e9a70d-0c7a-4577-a48f-8f31b60eadb2@googlegroups.com

On 2018-02-11 11:58, darkestkhan wrote:

> Use valgrind for checking memory leaks - top would show you only big ones (I know that few bytes may not sound like much, but IT IS A LOT - for example windows 10 audio driver seems to leak memory [otherwise you can't explain why it uses over 500MB of memory after just 2-3 weeks of running] - how? small leak over prolonged period of time becomes big one).

For memory leaks I would recommend gnatmem. It is extremely easy to use. 
No code change required. It groups similar memory allocations together. 
It also finds leaks related to C code, which is the main source of leaks 
when using bindings to low-level C libraries.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2018-02-11 11:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-20  6:15 How to optimize use of RAM/disk access ? reinert
2018-01-20  8:45 ` Jacob Sparre Andersen
2018-01-21  7:26   ` reinert
2018-01-21 23:49     ` Shark8
2018-01-22  5:53     ` darkestkhan
2018-01-22  8:53 ` gautier_niouzes
2018-01-22 15:01 ` Mr. Man-wai Chang
2018-01-24 15:18 ` Robert Eachus
2018-02-10  5:27   ` reinert
2018-02-10 23:31     ` Robert Eachus
2018-02-11 10:58     ` darkestkhan
2018-02-11 11:38       ` Dmitry A. Kazakov [this message]
2018-02-16  4:59         ` reinert
2018-02-16  5:04         ` reinert
2018-02-16  8:18           ` Björn Lundin
2018-02-17  6:15             ` reinert
2018-02-17 18:36               ` Dennis Lee Bieber
2018-02-18 15:21                 ` Björn Lundin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox