-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integer overflow when memory limit is less than NN cache memory usage #1597
Comments
Does the integer overflow occur regarding the number of available nodes? How can we reproduce the issue? |
I believe if you run |
When I run
I can't see the issue in the log file. |
Run some actual search, with |
I reproduced the issue by running |
When "negative" amount of RAM is available (cache use is larger than total avaialable), it should allocate |
Was this addressed lately when RAM limit was discussed? |
… if nn cache > memory limit (prevents unsigned int variable overflow) fixes LeelaChessZero#1597
i believe #2058 fixes issue |
Example with memory limit 1MB:
The text was updated successfully, but these errors were encountered: