I noticed the following running Cutechess on Windows 11 -
1. It plays its games well, 50,000 in my case.
2. Memory keeps rising because of maintaining the PGN.
3. When the 50,000 games are finished cutechess exits normally....but... it does not free the memory it has used.
I don't have this behavior [3] on my 2 other Windows 10 machines, cutechess exists and releases the memory as it should and automatically starts the next 50,000 run.
I tried different Cutechess versions, it must be something weird of Windows 11.
Any one?
Cutechess and Windows 11
Moderator: Ras
-
Rebel
- Posts: 7421
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Cutechess and Windows 11
90% of coding is debugging, the other 10% is writing bugs.
-
smatovic
- Posts: 3439
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Cutechess and Windows 11
Is it Cutechess not freeing, or is it Windows 11 RAM cache?
Clearing RAM Cache on Windows 11
https://windowsloop.com/clear-ram-cache-windows-11/
--
Srdja
Clearing RAM Cache on Windows 11
https://windowsloop.com/clear-ram-cache-windows-11/
--
Srdja
-
Rebel
- Posts: 7421
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Cutechess and Windows 11
It's not the cache, but the allocated ram cute-chess uses that Windows 11 is not freeing, while Windows 10 does, as it should. Example...
I have 20 of those in a batch file so in total it should produce 20 x 50000 = 1 million games.
After the first 50000 run W10 frees the memory (60% goes back to 17%) and starts the second one, and so on.
After the first 50000 run W11 does not free the memory, it start the second one with 60% and sooner or later RAM is 100% and the PC totally freezes.
Tried several memory cleaners, to no avail, only a reboot helps.
Obviously a W11 problem, could not find online help.
Code: Select all
ccc -concurrency 24 -tournament gauntlet -engine name=rebel-eas-one cmd=rebel-eas-one.exe proto=uci option.Hash=16 -engine name=rebel-eas-two cmd=rebel-eas-two.exe proto=uci option.Hash=16 -each restart=on tc=inf depth=9 timemargin=500 -draw movenumber=160 movecount=3 score=100 -resign movecount=3 score=999 -rounds 50000 -pgnout games-017-001.pgn -openings file=games.017.001.epd format=epd
ccc -concurrency 24 -tournament gauntlet -engine name=rebel-eas-one cmd=rebel-eas-one.exe proto=uci option.Hash=16 -engine name=rebel-eas-two cmd=rebel-eas-two.exe proto=uci option.Hash=16 -each restart=on tc=inf depth=9 timemargin=500 -draw movenumber=160 movecount=3 score=100 -resign movecount=3 score=999 -rounds 50000 -pgnout games-017-002.pgn -openings file=games.017.002.epd format=epd
ccc -concurrency 24 -tournament gauntlet -engine name=rebel-eas-one cmd=rebel-eas-one.exe proto=uci option.Hash=16 -engine name=rebel-eas-two cmd=rebel-eas-two.exe proto=uci option.Hash=16 -each restart=on tc=inf depth=9 timemargin=500 -draw movenumber=160 movecount=3 score=100 -resign movecount=3 score=999 -rounds 50000 -pgnout games-017-003.pgn -openings file=games.017.003.epd format=epd After the first 50000 run W10 frees the memory (60% goes back to 17%) and starts the second one, and so on.
After the first 50000 run W11 does not free the memory, it start the second one with 60% and sooner or later RAM is 100% and the PC totally freezes.
Tried several memory cleaners, to no avail, only a reboot helps.
Obviously a W11 problem, could not find online help.
90% of coding is debugging, the other 10% is writing bugs.
-
F. Bluemers
- Posts: 880
- Joined: Thu Mar 09, 2006 11:21 pm
- Location: Nederland
Re: Cutechess and Windows 11
If the memory is not released after the first cutechess is closed it looks like some other issue like handles that are not properly closed.
You can check for that in process exlorer/task manager
But that should been a problem in w10 too.
You can check for that in process exlorer/task manager
But that should been a problem in w10 too.
-
Jim Ablett
- Posts: 2368
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Cutechess and Windows 11
This might be relevant to your problem >
https://superuser.com/questions/1838566 ... 17#1841517
Jim.
https://superuser.com/questions/1838566 ... 17#1841517
Jim.
-
Rebel
- Posts: 7421
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Cutechess and Windows 11
https://www.amd.com/en/support/download/drivers.html
Found it.....
Craziness an AMD driver can do that to a console application.
Apologies to Mr. Gates
Found it.....
Craziness an AMD driver can do that to a console application.
Apologies to Mr. Gates
90% of coding is debugging, the other 10% is writing bugs.
-
Rebel
- Posts: 7421
- Joined: Thu Aug 18, 2011 12:04 pm
- Full name: Ed Schröder
Re: Cutechess and Windows 11
Yep, had to download the latest version of Adrenalin as well.Jim Ablett wrote: ↑Fri Sep 13, 2024 8:52 pm This might be relevant to your problem >
https://superuser.com/questions/1838566 ... 17#1841517
Jim.
90% of coding is debugging, the other 10% is writing bugs.