delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/04/14:09:09

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: Disabling use of disk as free store.
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Sun, 4 Dec 1994 10:59:16 -0600 (CST)
Cc: mrb AT robots DOT ox DOT ac DOT uk, sandmann AT clio DOT rice DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu

> > 	Is there a way of telling djgpp/gcc/go32 NOT to use the disk
> > as free store when it runs out of memory (I mean when the compiled
> > program is running and you ask for too much memory with a "new")?
> > Frankly I would rather my program exited immediately when it ran out
> > of memory rather than continue at snails pace using the disk (although

Try:
 SET GO32TMP=Z:\
(or some other drive you don't have).  This works fine.  

> Charles, how about the possibility of adding an option to CWSDPMI
> that will enable switching virtual memory OFF in v2.0?

The same feature above works with CWSDPMI, since it has GO32 as a close
relative :-)

- Raw text -


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