comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Subject: Re: Help-memory allocation
Date: Tue, 01 Jul 2003 10:58:22 +0200
Date: 2003-07-01T10:58:22+02:00	[thread overview]
Message-ID: <87el1aoc7l.fsf@Login.CERT.Uni-Stuttgart.DE> (raw)
In-Reply-To: bdpksc$vea6i$1@ID-175126.news.dfncis.de

Vinzent Hoefler <ada.rocks@jlfencey.com> writes:

> Mmh, so in case someone relies on the occurence of the exception in
> the very moment of the allocation, would it be wise to also give an
> initial value to make sure we actually "use" the allocated memory?

In most cases, yes.  There are systems which can merge zero pages even
after they have been written to.

However, some systems behave very wildly in out-of-memory situations,
killing random processes etc.  Better make sure that you always have
enough memory available. 8-/



  parent reply	other threads:[~2003-07-01  8:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-30  9:11 Help-memory allocation prashna
2003-06-30  9:14 ` Vinzent Hoefler
2003-06-30 10:30   ` Rodrigo Garcia
2003-06-30 14:56   ` Florian Weimer
2003-06-30 15:25     ` Vinzent Hoefler
2003-06-30 16:56       ` 
2003-07-01  9:15         ` Florian Weimer
2003-07-01  8:58       ` Florian Weimer [this message]
2003-07-03  6:53         ` prashna
2003-07-03  7:24       ` Robert I. Eachus
2003-07-01  9:06     ` prashna
2003-07-01  9:17       ` Florian Weimer
2003-07-01 12:21         ` 
2003-07-02 15:59 ` Richard Riehle
2003-07-02 22:35 ` Matthew Heaney
replies disabled

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