Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Nalimov tablebase question

Author: Landon Rabern

Date: 19:09:07 04/23/01

Go up one level in this thread


On April 23, 2001 at 22:03:54, Landon Rabern wrote:

>On April 23, 2001 at 22:03:32, Landon Rabern wrote:
>
>>How much RAM should the tablesbases use up?  I have the cache size set to 2 MB,
>>but it is using more like 27 MB.
>>
>> EGTB=IInitializeTb(EGTB_PATH);
>> printf("EGTB: %d",EGTB);
>> if(EGTB!=0)
>> {
>>void *EGTB_cache=malloc(CACHE_SIZE);
>>	 FTbSetCacheSize(EGTB_cache,CACHE_SIZE);
>> }

Wow, that was odd, must have hit submit on accident and tehn it went crazy.

But, anyway I can use all 5 man tables and they work fine, but they use up 27
MB.  Is this right?  I can take out the code that allocates the memory for the
egtb_cache and it uses a couple less MB but stil like 25, so the memory must be
being used somewhere in the call to IInitializeTb.

Thanks,

Landon W. Rabern



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.