Page 1 of 1
COW Mac OS X Build 60 - Out of memory error
Posted: Fri Aug 19, 2016 11:52 pm
by nmad
I just started using COW Pro on the Mac. I tried importing a PGN file with a collection of master games. The import process was slower that I expected. After importing around 57K games (which took hours), the program stopped importing and its windows contents became corrupted with an "out of memory" error message. The PGN file is about 150 MB in size and contains ~ 215K games.
Thanks,
Navid
P.S. the out of memory error actually occurs with fewer games import - around 5K, e.g. when importing any of the files from
http://www.chessopeningspgn.com/chess/Openings.html
Re: COW Mac OS X Build 60 - Out of memory error
Posted: Sat Aug 20, 2016 3:34 pm
by MikeAtBookup
Hey Navid,
Needless to say, I've had the Macintosh version import some large PGN files as part of testing.
I'm not sure what would cause and "out of memory" error. Does the problem come up after you restart your Mac and run only COW for the import?
Re: COW Mac OS X Build 60 - Out of memory error
Posted: Sun Aug 21, 2016 1:34 pm
by nmad
I highly doubt that system memory is the issue. There are 16 GB on the system.
I think the program runs out of heap rather than running into a stack overflow. I think the best option would be to run a debug build with ReportMemoryLeaksOnShutdown set to true and observe if there would be a leak.
Navid
Re: COW Mac OS X Build 60 - Out of memory error
Posted: Thu Aug 25, 2016 9:21 pm
by nmad
Any response?
Re: COW Mac OS X Build 60 - Out of memory error
Posted: Fri Aug 26, 2016 3:53 pm
by MikeAtBookup
nmad wrote:Any response?
Sorry, I missed your earlier response.
As recursion is used to parse PGN files, overflowing the heap is more likely. Then the problem would be to find the game that has so many nested variations that it could cause such a problem.
The program is written in Delphi so I'm not sure how to trap a heap overflow.
Re: COW Mac OS X Build 60 - Out of memory error
Posted: Fri Aug 26, 2016 3:54 pm
by MikeAtBookup
...and I meant stack overflow.
It could also have a memory leak. That would be easier to test for.
Re: COW Mac OS X Build 60 - Out of memory error
Posted: Mon Dec 23, 2024 5:15 pm
by amadeo300
men i really love it mac