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 #222

Closed
beansgum opened this issue Nov 10, 2018 · 2 comments
Closed

Bolt DB memory crash #222

beansgum opened this issue Nov 10, 2018 · 2 comments

Comments

@beansgum
Copy link
Contributor

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. Here's the crash log https://bpaste.net/show/61c2f48d8d49

@raedah
Copy link
Contributor

raedah commented Nov 13, 2018

noting this via jrick, "i'm skeptical that the issue lies with bolt and not android
this would be better tested by using mmap directly
bolt is not using ram for these allocations. they are memory mapped disk access
the addresses are in the process' virtual address space, and they do not use up any physical memory when you read or write to a memory mapped address, it performs disk i/o"

@beansgum
Copy link
Contributor Author

beansgum commented Jun 1, 2019

Moved to planetdecred/dcrlibwallet#39

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