bug-gnu-chess
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memory usage


From: Kurt Roeckx
Subject: Re: memory usage
Date: Tue, 1 May 2001 20:56:28 +0200

On Tue, May 01, 2001 at 07:09:48PM +0100, Simon Waters wrote:
> Kurt Roeckx wrote:
> > 
> > Can't you use some smaller values as default for HASHSLOTS and
> > PAWNSLOTS?  It's using 66 MB here if I start it up, and I only
> > have 64 MB.  I did change it myself to something lower.
> 
> I'm afraid it is tune it down yourself time.
> 
> Don't think there is a portable how much spare RAM call we can use, and
> virtual memory isn't any good.

I don't see why you want to use all the available RAM in the
first place.  If a program uses more then 10 MB, I can only
wonder why.  If most of it goes into hash tables, I can only be
amased.

> The size jumps down in powers of two if you examine the code for the
> hash tables.

I saw it, and can only wonder why you use a power of 2 for the
hash size.

> PS: This isn't the 1980's, 128Mb SIMMS are now below 50 Euros, even my
> Laptop has 256Mb, if your running GCC you'll appreciate the spend...

I don't see why I should by more ram when 99% of the time I have
more than enough with 32 MB.

And I do use gcc, and I've never had a problem with it eating
much RAM.


Kurt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]