Skip to content
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

Unable to Login to Bitwarden #65

Closed
markbyrn opened this issue Jan 8, 2024 · 8 comments
Closed

Unable to Login to Bitwarden #65

markbyrn opened this issue Jan 8, 2024 · 8 comments

Comments

@markbyrn
Copy link

markbyrn commented Jan 8, 2024

I installed the app on an S23U & Pixel 8 Pro. Got the following error when logging into Bitwarden:

"Failed to allocate a 1040 byte allocation with 133680 free bytes and 130KB until OOM, target footprint 268435456, growth limit 26843545; giving up on allocation because <1% of heap free after GC."

Wonder if it has anything to do with my KDF settings (Memory 512 MB, Iterations 10, parallelism 8)

@AChep
Copy link
Owner

AChep commented Jan 8, 2024

Looks like the app got assigned 256mb, which is probably not enough to handle the 512mb argon2 configuration.

@AChep
Copy link
Owner

AChep commented Jan 8, 2024

Does it fail before asking you for a 2FA (if you have one)?

@markbyrn
Copy link
Author

markbyrn commented Jan 8, 2024

Does it fail before asking you for a 2FA (if you have one)?

yes, it fails before 2FA (have Yukikey or Authy options)

@AChep
Copy link
Owner

AChep commented Jan 8, 2024

Then this is definitely caused by the KDF settings. Unfortunately I have no control over how much memory system lets the Keyguard use, so there's no solution from my side.

@markbyrn
Copy link
Author

markbyrn commented Jan 8, 2024

Looks like the app got assigned 256mb, which is probably not enough to handle the 512mb argon2 configuration.

I tried changing the KDF memory to 256 - same error.

@AChep AChep closed this as completed Jan 8, 2024
@AChep
Copy link
Owner

AChep commented Jan 8, 2024

It should be less then 256mb, as the app also needs some memory to draw itself etc.

@markbyrn
Copy link
Author

markbyrn commented Jan 8, 2024

It should be less then 256mb, as the app also needs some memory to draw itself etc.

Okay, I changed it to 128mb and it worked - thanks.

@AChep
Copy link
Owner

AChep commented Jan 8, 2024

App should now show a proper error message if OOM happens during KDF usage 51dd09a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants