Paul's Programming Notes     Archive     Feed     Github

Android Bitcoin OutOfMemoryError Or Crashing On Startup

This page explains the problem: https://code.google.com/p/bitcoin-wallet/wiki/OutOfMemory

At one point, it got so bad that the application would not even start anymore.

Solution:

  1. Get Root Explorer
  2. Navigate to your system folder and open "build.prop" in the text editor
  3. Edit "dalvik.vm.heapsize" and "dalvik.vm.heapgrowthlimit" to the following:
    dalvik.vm.heapsize=256m
    dalvik.vm.heapgrowthlimit=128m
  4. Restart your phone, open the bitcoin application, and backup your keys before it crashes again.