Author: Lars Bremer
Date: 16:17:51 10/18/02
Go up one level in this thread
On October 18, 2002 at 18:43:15, Gian-Carlo Pascutto wrote: >On October 18, 2002 at 18:35:32, martin fierz wrote: > >>so your book doesn't fit into your memory? wow, that thing must be huge! or >>maybe it's just that i'm spoiled with my GB-machine :-) > >On my machine it does, but I don't want to make the assumption it >will on all machines, so the code uses fseek/fread/fwrite. > >I have 768M RAM. The book is 16M, the PGN is 153M. Windows is >*continously* busy with the disk and my program is getting <5% >CPU time. That's redicolous. Are you sure your windows has UDMA-access to the harddisk? Normally the file cache in w2k works very well. To find out the size of physical memory: MEMORYSTATUS ms; ms.dwLength = sizeof(MEMORYSTATUS); GlobalMemoryStatus(&ms); ms.dwAvailPhys shows the free mem, ms.dwTotalPhys shows the complete mem. cu Lars
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.