Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: available memory

Author: James Swafford

Date: 04:13:11 10/05/01

Go up one level in this thread


On October 04, 2001 at 23:23:22, Dave Gomboc wrote:

>On October 04, 2001 at 13:51:17, James Swafford wrote:
>
>>On October 04, 2001 at 13:15:51, Kurt Utzinger wrote:
>>
>>>On October 04, 2001 at 08:47:44, JW de Kort wrote:
>>>
>>>>Hi friends,
>>>>
>>>>just a simple question. I want my hashtable to be as big as possible but in
>>>>order to decide the size i need to know how much physical memory is still
>>>>available. The problem is however that i do not know which instruction i should
>>>>use to get the size of the available memory. Iám using Visual C++ 4.2. Can
>>>>anybody help me?
>>>>
>>>>thanks!
>>>>
>>>>Jan Willem
>>>
>>>Hi Jan
>>>The available physical memory can be checked with the windows program
>>>"C:\WINDOWS\SYSMON.EXE". There are of course also other tools for the same
>>>purpose.
>>>Regards
>>>Kurt
>>
>>I think he's asking for a C or C++ instruction that he can use
>>in code...
>>
>>(Sorry, I don't know how to do that, or if you can do that.)
>>
>>--
>>James
>
>I don't know how to do it myself, but I'm sure it's in the API somewhere.  After
>all, sysmon is doing it. :-)
>
>Dave

Does the fact that sysmon is doing it necessarily mean it's in
the API?  (I read in Scott's post how to do it...)

That may sound like a retarded question, but I'm serious...

--
James




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.