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

use badgerdb on mobile devices #698

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dreacot
Copy link
Member

@dreacot dreacot commented Oct 24, 2024

closes #694

  • use badger db for mobile devices because 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. With badger, a database can be split into multiple files which makes access faster and uses less memory than bolt database

@dreacot dreacot force-pushed the mobile_db_fix branch 2 times, most recently from 186c9d0 to c26512f Compare October 24, 2024 12:33
@dreacot dreacot changed the title user badgerdb on mobile devices use badgerdb on mobile devices Oct 24, 2024
@dreacot dreacot force-pushed the mobile_db_fix branch 2 times, most recently from 489721e to 2b2d178 Compare October 24, 2024 16:58
@dreacot dreacot marked this pull request as ready for review November 28, 2024 08:41
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

Successfully merging this pull request may close these issues.

bolt db can't allocate memory on ios
1 participant