Date: Wed, 23 Oct 1996 09:04:18 +0200 (IST) From: Eli Zaretskii To: Paul Shirley Cc: djgpp AT delorie DOT com Subject: Re: Virutal memory problems. In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 21 Oct 1996, Paul Shirley wrote: > >the next allocation to be taken from (ie if I then request 32-18 = > >14Mb will it not 'allocate' any more), or is it really that bad? > > In one sense it really is wasted, the block is allocated and you won't > suddenly find it reused. However virtual memory paging will almost > certainly scavenge the unused pages if required, though frankly I prefer > to avoid the wastage in the first place. The problem is not the waste (AFAIK, it isn't wasted), but rather the slow-down on the program once it starts paging. Even if unused pages are swapped out, the program really crawls, because many DPMI servers aren't smart about virtual memory implementation.