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

Bolt DB memory crash #39

Open
beansgum opened this issue Jun 1, 2019 · 1 comment
Open

Bolt DB memory crash #39

beansgum opened this issue Jun 1, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@beansgum
Copy link
Contributor

beansgum commented Jun 1, 2019

Transferred from planetdecred/dcrandroid#222
Bolt db crashes when wallet database size is getting close to 250mb. At that point, it's unable to open wallet because the allocated app memory cannot handle that. The crash usually starts from when the wallet is fetching headers and the wallet db rises to the size which the app's allocated memory cannot handle.

@oluwandabira oluwandabira added the bug Something isn't working label Jan 14, 2020
@beansgum
Copy link
Contributor Author

I did multiple testing with bolt db and I saw the app memory(through android studio memory monitor) grow to an extent then crashes. I did a demo with badger(before implementing into dcrlibwallet) and I wrote 2gb data into the database and it did not crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants