delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/07/12:13:24

Date: Sun, 7 Sep 1997 19:11:43 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: *** Brett *** <bporter AT rabble DOT uow DOT edu DOT au>
cc: DJGPP <djgpp AT delorie DOT com>
Subject: Re: system() and memory
In-Reply-To: <199709071430.AAA05174@rabble.uow.edu.au>
Message-ID: <Pine.SUN.3.91.970907190828.2962D-100000@is>
MIME-Version: 1.0

On Mon, 8 Sep 1997, *** Brett *** wrote:

> Use spawn command. It frees up _loads_ more memory for your programs.

This is incorrect.  `spawn' does NOT release more memory than `system', 
because in most cases `system' just calls `spawn' internally.

And btw, the actual amount of free memory is probably totally irrelevant 
for this case.  First, only DOS memory (below the 640KB mark) is what 
counts.  And second, I suspect that the real problem is that the program 
in point somehow confuses DOS so it thinks the memory it needs is too 
large.

- Raw text -


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