Mail Archives: djgpp/1995/01/20/14:08:51
> 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 -