delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/20/14:08:51

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
Subject: Re: Description of tools in djgpp distribution
To: IBBT0 AT cc DOT uab DOT es
Date: Fri, 20 Jan 1995 11:14:37 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

> I have Windows for Workgroups 3.11. When I run go32 from a DOS session
> it says:
>    DPMI memory available: 10716 Kb
>    Swap space available: 20456 Kb
> but I cannot allocate 18000 kb in a single malloc() call, according to
> the sandmann (previous) text.
> 
> When I define a swap file of 40000 kb, it runs, but I'd like to know if
> I have my whole memory block in the swap file (so slow) or if
> I have about 10 Mb in real RAM and about 8Mb in the swap file.

I honestly don't know how Windows internally handles this during the
resize call, but right after the call you can be sure 10Mb of the 18Mb
will be in memory.  It may not be the 10Mb you want in memory, however.
I am looking at alternate ways to support sbrk() so that these problems
might not exist for tight memory configurations.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019