Mail Archives: djgpp/1997/03/14/05:45:03
> |> 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 -