Mail Archives: djgpp/1997/07/24/07:07:54
Esa Peuha wrote:
>
> So if I write a program that allocates all the memory it can get, writes
> a file that fills the hard disk, and then begins to fill the memory it
> has allocated, what will happen when there's no physical free memory
> left? Obviously the DPMI host must page out some memory, but it can't
> because there's no free disk space, so it must crash the program. Very
> nice and intelligent indeed ;-)
>
> BTW, if it crashes with SIGSEGV, then this can be the reason I crashed
> ld.exe a while back.
I don't know; I imagine it would crash with a page fault if at all under
such a situation, but I've never seen it happen. I may try testing it
to find out; in the meantime I hope Charles Sandmann or somebody else
can clear this up. ;)
--
---------------------------------------------------------------------
| John M. Aldrich | "Democracy is based on the assumption|
| aka Fighteer I | that a million men are wiser than one|
| mailto:fighteer AT cs DOT com | man. How's that again? I missed |
| http://www.cs.com/fighteer | something." - Lazarus Long |
---------------------------------------------------------------------
- Raw text -