Mail Archives: djgpp/1996/10/23/03:16:11
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.
- Raw text -