How to find memory size.

New Message Reply Date view Thread view Subject view Author view

From: Acosta, Mark W [Magic Earth LLC] (acostmw++at++texaco.com)
Date: 02/22/2000 09:36:03


I know this is a bit off topic but it does involve a Performer program. I'm
trying to programmatically determine the physical amount of memory on the
machine I'm running on. The only thing I've found so far that does this is
"getinvent()" which, unfortunately, only returns a 32 bit int with the
memory size and I need this to work on machines with more than 2GB of
memory. The man page for getinvent shows the return value (inv_state) as a
long but the header file has it as an int. Anyone know of some other way to
do this? Thanks.

Mark Acosta
Magic Earth LLC


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Feb 22 2000 - 09:36:55 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.