delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/02/15:42:00

From: mrb AT robots DOT ox DOT ac DOT uk
Subject: Disabling use of disk as free store.
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
Date: Fri, 2 Dec 94 12:29:43 GMT

	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
I can see the feature might be extremely useful).
	The djgpp documentation fails to mention this (or it is not
abundantly clear where to find it).

Thanks!

Mike B.

- Raw text -


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