<p>From my own experience, running ABCore on a Nexus 5X, Android is too eager to kill processes that use a large amount of memory on systems with less than 3 GB.</p>

CC BY-SA 4.0
2019-07-07T22:22:18.943Z
Good to know it’s not just my 5x, so likely it is ram, I’m testing versions of config i.e. low dbcache prune size etc sometimes it works, seeing if there is a stable setup that can keep ram low enough, interestingly I have another 3gb device with an older android os which seems ok, but I think that OS is lighter than current ones
MandelDuck
CC BY-SA 4.0
2019-07-10T10:15:51.493Z
is it expected that if Android kills the process during IBD that the db could get corrupted? as mentioned in my question bitcoin core gets stuck on restart trying to prune the block store, last logs are 

“Failed to open mempool file from disk. Continuing anyway”
MandelDuck
CC BY-SA 4.0
2019-07-07T17:18:51.000Z
2019-07-07T17:18:51.000Z
Pieter Wuille
<p>I've been running bitcoin core on an android device (nexus 5x) and emulator, and sync on testnet always fails at around 3% progress</p>

<p>the last thing logged is</p>

<p>“pre-allocating up to position 0x900000 in rev00006.dat”</p>

<p>core crashes and when restarting the sync process never restarts getting stuck at</p>

<p>“Failed to open mempool file from disk. Continuing anyway”</p>

<p>Prune is set to 550mb and the device has 2gb ram but 70% seems to be taken up by the OS</p>

<p>Is this issue caused by a lack of ram? Or likely something else?</p>

<bitcoin-core><synchronization>
Bitcoin core crash during IBD
MandelDuck
# Bitcoin core crash during IBD

(Asked by: username_0 on 2019-07-07)

I've been running bitcoin core on an android device (nexus 5x) and emulator, and sync on testnet always fails at around 3% progress

the last thing logged is

“pre-allocating up to position 0x900000 in rev00006.dat”

core crashes and when restarting the sync process never restarts getting stuck at

“Failed to open mempool file from disk. Continuing anyway”

Prune is set to 550mb and the device has 2gb ram but 70% seems to be taken up by the OS

Is this issue caused by a lack of ram? Or likely something else?

**Tags:** bitcoin-core, synchronization


---

## 1 answers

### Answer by username_1 on 2019-07-07. Score: 2

From my own experience, running ABCore on a Nexus 5X, Android is too eager to kill processes that use a large amount of memory on systems with less than 3 GB.

> **Comments:**
> **username_0**: Good to know it’s not just my 5x, so likely it is ram, I’m testing versions of config i.e. low dbcache prune size etc sometimes it works, seeing if there is a stable setup that can keep ram low enough, interestingly I have another 3gb device with an older android os which seems ok, but I think that OS is lighter than current ones  
> **username_0**: is it expected that if Android kills the process during IBD that the db could get corrupted? as mentioned in my question bitcoin core gets stuck on restart trying to prune the block store, last logs are   “Failed to open mempool file from disk. Continuing anyway”  

---

