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
COW Mac OS X Build 60 - Out of memory error
-
- Posts: 198
- Joined: Mon Aug 01, 2016 2:02 pm
Re: COW Mac OS X Build 60 - Out of memory error
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?
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?
-------------------
Mike Leahy
Head Geek at bookup.com
Mike Leahy
Head Geek at bookup.com
Re: COW Mac OS X Build 60 - Out of memory error
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
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
Any response?
-
- Posts: 198
- Joined: Mon Aug 01, 2016 2:02 pm
Re: COW Mac OS X Build 60 - Out of memory error
Sorry, I missed your earlier response.nmad wrote:Any 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.
-------------------
Mike Leahy
Head Geek at bookup.com
Mike Leahy
Head Geek at bookup.com
-
- Posts: 198
- Joined: Mon Aug 01, 2016 2:02 pm
Re: COW Mac OS X Build 60 - Out of memory error
...and I meant stack overflow.
It could also have a memory leak. That would be easier to test for.
It could also have a memory leak. That would be easier to test for.
-------------------
Mike Leahy
Head Geek at bookup.com
Mike Leahy
Head Geek at bookup.com
Re: COW Mac OS X Build 60 - Out of memory error
men i really love it mac