-
Notifications
You must be signed in to change notification settings - Fork 8
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
OutOfMemoryException when creating Argon2() #39
Comments
I have also noticed this issue using a different set of configurations:
with the usage example:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From time to time I've got an OutOfMemoryException when doing the following in version 1.1.10 (November, 18th 2020):
var argon2A = new Argon2(config);
My configuration looks like this:
The exception states the following:
Failed to allocate 16777216-byte Argon2 block array, memory cost 131072, lane count 4.
The exception occurs sporadically but it's not comprehensible in which situation.
Since it is an x86 application I thought it's about the memory consumption of my application but i've doublechecked this - it's just around 600MB. If I'm going to decrease the memory cost at some point it works.
The text was updated successfully, but these errors were encountered: