www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/15/13:16:35

From: hipermar AT mail2 DOT esoterica DOT pt (Hiper M.A.R.)
Newsgroups: comp.os.msdos.djgpp
Subject: free() DOESN'T return memory to system
Date: Fri, 15 Sep 2000 17:04:15 GMT
Organization: Esoterica, Portugal
Lines: 11
Message-ID: <969040898.563766@osiris.esoterica.pt>
NNTP-Posting-Host: osiris-ip.esoterica.pt
X-Trace: news.interpacket.net 969037437 16521 209.198.242.35 (15 Sep 2000 17:03:57 GMT)
X-Complaints-To: usenet AT news DOT interpacket DOT net
NNTP-Posting-Date: 15 Sep 2000 17:03:57 GMT
X-Newsreader: Forte Free Agent 1.0.82
Cache-Post-Path: osiris.esoterica.pt!unknown AT por511 DOT esoterica DOT pt
X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

HI,
Has it is clearly stated in Faq15_2.html:
"When you call free, DJGPP library doesn't return memory to the
system, it just adds it to its internal pool of free pages. So, from
the point of view of the DPMI server, these pages are not "free". "
My question is:
Isn't there some way to return memory to system (besides quitting the
program!)?
In MS Visual C, _heapmin() takes care of this.
Thanks.

- Raw text -


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