<p>As 0x49D1 reported: reducing the Bitcoin Core database cache helped to reduce memory usage, which caused the crashes while syncing.</p>

<p>In bitcoin.config <code>dbcache=&lt;n&gt;</code> or as command-line argument <code>-dbcache=&lt;n&gt;</code> where <code>n</code> is the database cache size in megabytes (default: 300)</p>

<p><a href="https://en.bitcoin.it/wiki/Running_Bitcoin" rel="nofollow noreferrer">Source</a></p>

CC BY-SA 3.0
2018-04-20T11:42:40.000Z
2018-04-20T11:42:40.000Z
0xb10c
<p>I'm trying to run Bitcoin Core service with full node verification on Ubuntu on testnet and it keeps resetting. The verification increases to 0.3, then resets to 0, for 2 days already. Debug.log records look like there was a process crash, but no reason mentioned: 
<a href="https://i.sstatic.net/kZJTQ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kZJTQ.png" alt=""></a><br>
The server is Digital Ocean's droplet, I've already tried to increase the server CPU/RAM, no luck. Want to find the reason of what is going on here, what exactly causes such behavior.</p>

CC BY-SA 3.0
2018-04-20T11:00:54.090Z
I've seen this before with Raspberry Pi's running out of memory and thus crashing Bitcoin Core. Do you have a way to monitor memory usage? How much memory is available?
0xb10c
CC BY-SA 3.0
2018-04-20T11:01:51.627Z
@0xb10c hm.. maybe you're right, I'll recheck that, will set more limit to bitcoin core cache record from config
0x49D1
CC BY-SA 3.0
2018-04-20T11:29:30.757Z
@0xb10c you were right: decreasing cache helped! For example you should set somewhere near 6000 for 8GB RAM (I've set 7500 before and it appears that the program was crashing). Can you "Answer" this question, so that I mark the answer for the problem. In the future this can help someone else. Thank you!
0x49D1
<bitcoin-core><blockchain><transaction-verification>
Bitcoin core verification keeps reseting
0x49D1
# Bitcoin core verification keeps reseting

(Asked by: username_0 on 2018-04-20)

I'm trying to run Bitcoin Core service with full node verification on Ubuntu on testnet and it keeps resetting. The verification increases to 0.3, then resets to 0, for 2 days already. Debug.log records look like there was a process crash, but no reason mentioned:
[![](https://i.sstatic.net/kZJTQ.png)](https://i.sstatic.net/kZJTQ.png)  
The server is Digital Ocean's droplet, I've already tried to increase the server CPU/RAM, no luck. Want to find the reason of what is going on here, what exactly causes such behavior.

**Tags:** bitcoin-core, blockchain, transaction-verification

> **Comments:**
> **username_1**: I've seen this before with Raspberry Pi's running out of memory and thus crashing Bitcoin Core. Do you have a way to monitor memory usage? How much memory is available?  
> **username_0**: @username_1 hm.. maybe you're right, I'll recheck that, will set more limit to bitcoin core cache record from config  
> **username_0**: @username_1 you were right: decreasing cache helped! For example you should set somewhere near 6000 for 8GB RAM (I've set 7500 before and it appears that the program was crashing). Can you "Answer" this question, so that I mark the answer for the problem. In the future this can help someone else. Thank you!  

---

## 1 answers

### Answer by username_1 on 2018-04-20. Score: 3 | Accepted answer

As username_0 reported: reducing the Bitcoin Core database cache helped to reduce memory usage, which caused the crashes while syncing.

In bitcoin.config `dbcache=<n>` or as command-line argument `-dbcache=<n>` where `n` is the database cache size in megabytes (default: 300)

[Source](https://en.bitcoin.it/wiki/Running_Bitcoin)


---

