delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/09/17:17:12

Date: Mon, 9 May 1994 16:19:46 +0500
From: ronis AT onsager DOT chem DOT mcgill DOT ca (David Ronis)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: malloc under DV/X

I use djgpp under Desqview/X.  For the most part, I use it when I need to 
access large arrays.  Thinks work correctly, but I've noticed that malloc
allocates system memory irreversibly; for example, free doesn't seem to return
the memory to the system (DV/X) until the program exits, or if I have a large
local array in a function, this memory is not returned to the system when
the program exits.

Is this correct? If so, can it be overridden?

David Ronis

- Raw text -


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