aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhackerrdave <davekerrcode@gmail.com>2019-12-17 12:18:13 -0500
committerhackerrdave <davekerrcode@gmail.com>2019-12-17 12:18:13 -0500
commit6094222de7820d235e6e8c66e589aa71db08c077 (patch)
tree126a8a5c706e4397d492ffed97d473495fc65ae0 /doc
parenta595011f5a3c048b2e3694dfe355aba60cd994e8 (diff)
use preferred shebang approach for documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/reduce-memory.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reduce-memory.md b/doc/reduce-memory.md
index 8d8ccdfedc..b0faf0825a 100644
--- a/doc/reduce-memory.md
+++ b/doc/reduce-memory.md
@@ -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
```