Computer Chess Club Archives


Search

Terms

Messages

Subject: To Marc Van Hal

Author: John Merlino

Date: 11:17:00 11/08/02


Marc,

First of all, I'm sorry for not replying to your CCC post sooner. I was on a
badly needed vacation. Here is what you wrote:
----------------
I made a book of a pgn file of 20.000 games but I am manualy improving it. After
inserting some positions time the program crashes. Is there still a limit on the
maximal positions for the book? Or would it be so that the program has trouble
with swapping when using the book editor?
----------------

I suspect that it might be the latter problem. How much RAM does your computer
have? 20,000 games means that, if you used the default settings for creating the
book, you probably have about 150-200K nodes, which is quite a bit for the tree
control to handle. You might consider closing some branches of the tree when you
are done with them, so the program does not have to display and visually keep
track of too many things at one time.

In Windows, each node of this tree control requires its own individual handle in
memory. If there are many thousands of these, then RAM can get very fragmented,
causing much wasted space. Additionally, Windows may only allow a certain
maximum number of open handles at any one time, and trying to allocate more of
them might cause Windows to become unstable (or, as you discovered, crash).

That's about the only suggestion that I have.

jm



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.