]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Allow for general transposition table sizes. (#1341)
[stockfish] / src / ucioption.cpp
index b902677f93cd878b4b52540cc7a6475dbc49bafa..f85ede1813c39e44dc6c820383de74081de95ab8 100644 (file)
@@ -55,7 +55,8 @@ bool CaseInsensitiveLess::operator() (const string& s1, const string& s2) const
 
 void init(OptionsMap& o) {
 
-  const int MaxHashMB = Is64Bit ? 1024 * 1024 : 2048;
+  // at most 2^32 clusters.
+  const int MaxHashMB = Is64Bit ? 131072 : 2048;
 
   o["Debug Log File"]        << Option("", on_logger);
   o["Contempt"]              << Option(0, -100, 100);