Date: Tue, 22 Jul 1997 01:37:37 -0600 From: Esa Peuha Subject: Re: mem alloc taking up power of 2 Newsgroups: comp.os.msdos.djgpp Message-ID: <869552497.24200@dejanews.com> Organization: Deja News Posting Service References: <33cc4f06 DOT 4823733 AT 192 DOT 189 DOT 54 DOT 145> Lines: 19 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article , Shawn Hargreaves wrote: > When you say that you are losing > 640k, remember that this is virtual memory, so if you never touch the > space the DPMI server won't actually bother to allocate any hardware > pages for it. True, but it must still allocate enough _disk space_ for it. The DPMI host can't know that you'll never touch that memory, and it must be able to page it in physical RAM if you do. > The only thing being wasted is a few meg of your 32 bit > linear address space, but there's plenty of that to go around :-) Disk space (in the swap file) is also being wasted, and this may be a problem. -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet