Stockfish fixes memory leak in Syzygy

Free Internet Chess Games Server

Install FICGS apps at
Google Play Store

Game result  (chess)

S. Gounant, 2102
L. Sorbi, 2050


See game 99933

 Hot news
 Files search
 Social network

Go, Weiqi, Baduk


Back to forum

Francois Caire    (2016-11-12)
Stockfish fixes memory leak in Syzygy

I tested it and after a 24 hour analysis in an endgame position, stockfish was using only 2.6 Gb of ram with 2Gb hash size.

Author: Marco Costalba
Date: Sat Nov 5 07:55:08 2016 +0100
Timestamp: 1478328908

Rewrite syzygy in C++

Rewrite the code in SF style, simplify and
document it.

Code is now much clear and bug free (no mem-leaks and
other small issues) and is also smaller (more than
600 lines of code removed).

All the code has been rewritten but root_probe() and
root_probe_wdl() that are completely misplaced and should
be retired altogheter. For now just leave them in the
original version.

Code is fully and deeply tested for equivalency both in
functionality and in speed with hundreds of games and
test positions and is guaranteed to be 100% equivalent
to the original.

Tested with tb_dbg branch for functional equivalency on
more than 12M positions.

stockfish.exe bench 128 1 16 syzygy.epd

Position: 2016/2016
Total 12121156 Hits 0 hit rate (%) 0
Total time (ms) : 4417851
Nodes searched : 1100151204
Nodes/second : 249024

Tested with 5,000 games match against master, 1 Thread,
128 MB Hash each, tc 40+0.4, which is almost equivalent
to LTC in Fishtest on this machine. 3-, 4- and 5-men syzygy
bases on SSD, 12-moves opening book to emphasize mid- and endgame.

Score of SF-SyzygyC++ vs SF-Master: 633 - 617 - 3750 [0.502] 5000
ELO difference: 1

No functional change.





March 22, 2018

FICGS is also a social network including seo forums, a hot news & buzz blog, a free web directory and discussion forums to meet people from all over the world. Discuss the last events, improve your search engines optimization, submit your website, share your interests...

Feel free to link to FICGS chess server, register & win Epoints :

FICGS Go server, weiqi baduk banner facebook      
Correspondence chess

World championship

Play chess games

Go (weiqi, baduk)

Advanced chess

Play big chess

Chess trainer apk

Rated tournaments

Poker texas hold'em

Fischer random chess

      FICGS correspondence chess banner facebook