Mail Archives: djgpp/1993/04/27/11:59:16
>> 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 -