Mail Archives: djgpp/1997/03/14/10:12:46
Windows has its own swap file which is (usually) fixed size. You can
increase in in the control panel I thing 386/advanced. CWSDPMI and most
other DPMI hosts use all available disk as virtual memory while Windows
only provides virtual memory out of its swap file.
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com
On 14 Mar 1997, Paul Derbyshire wrote:
>
> > |> That's because the value returned by `_go32_dpmi_remaining_virtual_memory'
> > |> *includes* the free physical memory. When you add the two, you get
> > |> larger amount than what you actually have, so `malloc' fails.
>
> Well, RHIDE tells me under DOS it has 70 free virtual megs, 7 free
> physical ones. When I go into Windows, it says 1 free virtual and 5 free
> physical. So, since I have seen virtual < physical, virtual cannot be
> physical PLUS swap unless I have a negative amount of swap space!
>
> On the other hand, I find it very difficult to believe that Windows uses
> up 69 megabytes of swap, especially when I set it to only use 20 and on a
> different disk than my DJGPP swap file. So why DJGPP only coughs up one
> meg of virtual in Windows I don't know. (The 5 physical, I assume, is
> because the Windows kernel and locked memory in other apps add up to 2.)
>
> --
> .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
> -() < When I go to the theater, I always go straight to the "bag and mix"
> `*' bulk candy section...because variety is the spice of life... [me]
> Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
>
- Raw text -