www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/15/04:04:13

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 00:35:06 -0500
Organization: The National Capital FreeNet
Lines: 16
Sender: ao950 AT freenet DOT carleton DOT ca
Message-ID: <5e3hua$la5@freenet-news.carleton.ca>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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