comp.lang.ada
 help / color / mirror / Atom feed
From: darkestkhan <darkestkhan@gmail.com>
Subject: Re: How to optimize use of RAM/disk access ?
Date: Sun, 11 Feb 2018 02:58:33 -0800 (PST)
Date: 2018-02-11T02:58:33-08:00	[thread overview]
Message-ID: <91e9a70d-0c7a-4577-a48f-8f31b60eadb2@googlegroups.com> (raw)
In-Reply-To: <752bb990-b70a-4fce-8cd7-91d4f8ee7ea1@googlegroups.com>

On Saturday, February 10, 2018 at 5:27:33 AM UTC, reinert wrote:
> Hello, I have been away for a while.
> 
> I find no memory leak in my program (it is easy to check memory use under linux - for example via "top").
> 
> In general I would like to have an Ada function which tells how much memory (in general hardware resources) is available. Maybe there is a "system function" I have overlooked?
> 
> reinert 
> 

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).

  parent reply	other threads:[~2018-02-11 10:58 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 [this message]
2018-02-11 11:38       ` Dmitry A. Kazakov
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