-
Notifications
You must be signed in to change notification settings - Fork 58
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
The leak test is failing occasionally #20
Comments
I'm seeing consistent failures of TestTrie_DeleteLeakageDense:
The test TestParticiaTrie_DeleteLeakageSparse fails occasionally (approximately 1 in 10 runs):
I wonder if this is a real problem - I put the following loop around the DeleteLeakageSparse test, running insert/delete for 1M times:
and the whole "leak" was around 12900 bytes. Seems that the go runtime / GC retain some small part of memory... Can we put some reasonable limit like 15000 bytes and test the growth against that? |
I guess that we can close this for now, what do you think, @dmitris ? |
sure - please feel free to close the issue. Thanks! |
Not too cool, the tests should always return the same results.
The text was updated successfully, but these errors were encountered: