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

Excessive memory usage during unlock #304

Open
itsTyrion opened this issue Nov 28, 2024 · 1 comment
Open

Excessive memory usage during unlock #304

itsTyrion opened this issue Nov 28, 2024 · 1 comment

Comments

@itsTyrion
Copy link

itsTyrion commented Nov 28, 2024

When I unlock the Vault, Goldwarden wants several Gigabytes of RAM. While this generally isn't an immediate issue for a modern 16GB+ machine, it's can cause excessive loading times or even OOM killings on older 8GB, let alone 4GB, machines.

I have about 500 entries in my vault, but I can still reproduce the problem after logging out, so this really seems like a bug.

On a 4GB machine with nothing else running, unlock takes like 10 seconds:
image
First small bump is opening goldwarden, huge peak is unlocking, the drop is what happens after unlocking is complete. When lower on free RAM (under 2 GB) it can take upwards of 30 seconds due to excessive swapping.

edit: this repeats when locking and unlocking again without restarting. Tested with a vault that has just one entry.

Fedora 41
Goldwarden 0.3.6

@itsTyrion itsTyrion changed the title Excessive memory usage during unlock with flatpak version Excessive memory usage during unlock Dec 2, 2024
@itsTyrion
Copy link
Author

I tested the CLI version and seem to be having the same issue.

Memory usage always spikes after pin unlock, even did it during setup, before logging in.

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

1 participant