mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 00:26:33 +08:00
Set maximum hash table size to 2GB
We cannot allocate more then 2 GB, so let the limit reflect this. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ TranspositionTable::~TranspositionTable() {
|
||||
|
||||
void TranspositionTable::set_size(unsigned mbSize) {
|
||||
|
||||
assert(mbSize >= 4 && mbSize <= 4096);
|
||||
assert(mbSize >= 4 && mbSize <= 2048);
|
||||
|
||||
unsigned newSize = 1024;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user