www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/27/11:59:16

Date: Tue, 27 Apr 93 10:40:03 CDT
From: "Jeremy Mathers" <pynq AT midway DOT uchicago DOT edu>
To: dj AT ctron DOT com
Subject: Re: No Swapping
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu


>> 1/ How can i desable swapping (only use memory)

>You don't.  If go32 detects that it needs swapping, your only
>alternative to actually swapping is to abort.  Swapping only occurs
>when your program needs more than the available physical memory
>anyway.

I think the point is that in some cases, you would prefer the abort to
the swapping.  It would be sort of like resource limits on mainframes.

I.e., if your program runs away from you (due to either a programming
error or a DJGPP bug), you would it just aborted than to thrash thru 
all your diskspace and then die.

A switch to disable the swapping would be nice.  The alternative would
be to somehow (via TSR, maybe) make GO32 think you did not have any disk
space.  (Or maybe set your swap drive to a small RAM disk)

- Raw text -


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