delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/18/13:33:44

Date: Fri, 18 Aug 2000 20:36:01 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: r_maj AT poczta DOT onet DOT pl
Message-Id: <4634-Fri18Aug2000203600+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
CC: djgpp AT delorie DOT com
In-reply-to: <8njgsi$5ps$1@info.cyf-kr.edu.pl> (r_maj@poczta.onet.pl)
Subject: Re: get free memory info doesn't work !
References: <8njgsi$5ps$1 AT info DOT cyf-kr DOT edu DOT pl>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Rafal Maj" <r_maj AT poczta DOT onet DOT pl>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 18 Aug 2000 16:14:03 +0200
> 
> ---------------- contents of stderr -
>     59136        40136        59136
>     48832        40136        48832    <=== It's OK
>     48832        40136        48832
>     48832        40136        48832    <==== Why delete[] dosn't change
> information about free memory ?

Because delete[] doesn't return memory to the system, it puts it on
the program's internal pool of free memory.

See section 15.2 of the DJGPP FAQ list for details, it's all there.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019