Date: Thu, 24 Jul 1997 03:41:02 -0600 From: Esa Peuha Subject: Re: mem alloc taking up power of 2 Newsgroups: comp.os.msdos.djgpp Message-ID: <869733224.5542@dejanews.com> Organization: Deja News Posting Service References: <33cc4f06 DOT 4823733 AT 192 DOT 189 DOT 54 DOT 145> <869552497 DOT 24200 AT dejanews DOT com> <33D4D349 DOT 269C AT cs DOT com> <869643575 DOT 29800 AT dejanews DOT com> <33D5F50B DOT 1053 AT cornell DOT edu> Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <33D5F50B DOT 1053 AT cornell DOT edu>, asu1 AT cornell DOT edu wrote: > > 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 ;-) > > well, maybe you think i could run out and get another hard drive and > install it in your system? Yeah, right. "It's not _our_ problem that our software won't run with your hardware. Consider updating it." :-) Seriously, though, perhaps cwsdpmi could have an option to force all allocated memory to be paged in immediately. -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet