www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/15/03:20:55

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Weirdness with _go32_remaining_physical_memory
Date: 15 Feb 1997 05:41:05 GMT
Organization: The National Capital FreeNet
Lines: 20
Message-ID: <5e3i9h$lfk@freenet-news.carleton.ca>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp



[ reposted, original was lost due to Freenet.Glitch(tm) ]

When I call _go32_remaining_physical_memory (sp?) it coughs up a number
like 32645876...and mine is an 8 meg system! Is this wishful thinking on
the part of the compiler? =)

(btw, this call occurs AFTER I have loaded a meg or so of data into
mallocked memory too.)

_go32_remaining_virtual_memory returns a number around 120 million, as
expected.

--
    .*.  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 -


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