Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: memory under win2000

Author: Scott Gasch

Date: 12:00:13 03/17/02

Go up one level in this thread


On March 17, 2002 at 03:45:37, martin fierz wrote:

>On March 16, 2002 at 18:03:50, Slater Wold wrote:
>
>>On March 16, 2002 at 17:42:07, martin fierz wrote:
>>
>>>aloha!
>>>
>>>i just wrote a program which computes checkers endgame databases; i'm working on
>>>the 8-piece database. my PC has win2000 on and 1GB ram. i have noticed something
>>>strange: the task manager says that my application has used a maximum of 577'000
>>>KB (i've forgotten the last 3 digits). but in fact, it is using much more, on
>>>some seed passes on the database, where it has to use the results in other
>>>databases, it needs over 1GB. i just upgraded my PC from 640MB to 1GB to build
>>>this db more efficiently, because the disk access hurts the performance, but it
>>>still says that the maximum mem used is 577'000KB - even though it would have
>>>much more ram to use now. does anybody have an idea why windows won't let me use
>>>this ram?
>>>
>>>cheers
>>>  martin
>>
>>I've used 900MB+ of memory running Crafty.  It's your program.
>
>or maybe it's just me - i found that last time i looked i had been using 950MB.
>so it just seems that windows sometimes decides to page some of my ram and
>sometimes not...
>
>aloha
>  martin

Mem Size in the task manager is process resident memory size.  Add "Virtual
memory size" (View -> Select Columns) to see your process' total footprint
(including what's paged out).  If you want to lock your data structures in
memory look at VirtualLock in the win32 api.

Scott



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.