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

App crash: blockchain out of sync, java out of memory #29

Closed
Kalroth opened this issue Jan 1, 2014 · 8 comments
Closed

App crash: blockchain out of sync, java out of memory #29

Kalroth opened this issue Jan 1, 2014 · 8 comments

Comments

@Kalroth
Copy link

Kalroth commented Jan 1, 2014

The application is very unresponsive and eventually Android pops up a "not responding, wait or close?" dialog or just a "app has crashed, sorry" dialog.

Looking at the error log I see:

java.lang.RuntimeException: wallet/blockchain out of sync: 275595/275644
at de.schildbach.wallet.service.BlockchainServiceImpl$3.check(BlockchainServiceImpl.java:395)

or

java.lang.OutOfMemoryError
at de.schildbach.wallet.util.Qr.bitmap(Qr.java:63)

I've tried to reset the blockchain once, but it resulted in the same error. I've sent you 5 crash reports, so hopefully something there is helpful.

@schildbach
Copy link
Collaborator

Which email address or name did you use to send in the reports?

@Kalroth
Copy link
Author

Kalroth commented Jan 2, 2014

Apologies for not mentioning it.

Email address is kalroth@gmail.com and my bitcoin address is 1BpSt65ZHywcbMY2fW8SKAqiqWkbotzycu.

@schildbach
Copy link
Collaborator

Thanks. You're running out of memory. This is because your wallet has thousands of outputs (stemmig from thousands of incoming transactions). I'm afraid the app is currently not very scalable in that way.

@Kalroth
Copy link
Author

Kalroth commented Jan 2, 2014

I was afraid of something like that, thanks for the reply. I did uninstall a few apps, to free up some memory, but with no avail

I'll look for alternatives - I assume the backup keys can be imported elsewhere?

@schildbach
Copy link
Collaborator

Yes, as long as you stay with the same set of keys, you'll run into this problem just by replaying the block chain.

I suggest importing your backup into MultiBit, it uses the same backup format. As soon as your coins are safe there, reinstall Bitcoin Wallet (or clear app data) and start a new wallet. Remember to backup your new wallet again.

@Kalroth
Copy link
Author

Kalroth commented Jan 2, 2014

I did try a reinstall once, but with the same result as resetting the block chain. I'll stay away from mobile wallets until the memory issue has been solved.

Thank you for your help.

@Kalroth Kalroth closed this as completed Jan 2, 2014
@kilaka
Copy link

kilaka commented Jan 2, 2014

@schildbach - do you mean @Kalroth should use new keys - without importing the original ones? Creating a new wallet would require tracking several wallets.

@schildbach
Copy link
Collaborator

@kilaka I suggested to track his old keys using MultiBit. If he stops using the keys and sweeps them, he may even delete them at some time.

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

3 participants