[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Memory hog!
From: |
Joern Thyssen |
Subject: |
Re: [Bug-gnubg] Memory hog! |
Date: |
Tue, 4 Mar 2003 11:22:36 +0000 |
User-agent: |
Mutt/1.4i |
On Tue, Mar 04, 2003 at 11:14:20AM -0000, Ian Shaw wrote
> GNU Backgammon 0.13-devel 030203 (ChangeLog 1.979)
> P4 2GHz Windows 2000 SP 3
> Memory
> 1 sided 15 chequers on 6 points.
> 2 sided 6 chequers on 6 points.
> Disk
> 1 sided 15 chequers on 13 points.
> 2 sided 8 chequers on 6 points.
Hmm, this could be the problem since gnubg caches the equities and
distributions read from the database.
I still have some work to regarding reading from the databases. The code
is far from optimal, so I implemented the cache. However, since I'm
using a hash rather than a cache, I think it may grow indefinitely.
I'll look at this.
>
> I've also got a gnubg.bd in the directory. Is this used anymore?
No.
Jørn