Merge 0cda557340 into merged_master (Bitcoin PR #17751)

This commit is contained in:
Andrew Poelstra 2020-11-14 16:52:01 +00:00
commit 8d23feca6c

View file

@ -41,7 +41,7 @@ threads take up 8MiB for the thread stack on a 64-bit system, and 4MiB in a
By default, since glibc `2.10`, the C library will create up to two heap arenas per core. This is known to cause excessive memory usage in some scenarios. To avoid this make a script that sets `MALLOC_ARENA_MAX` before starting bitcoind:
```bash
#!/bin/bash
#!/usr/bin/env bash
export MALLOC_ARENA_MAX=1
bitcoind
```