Skip to content

Commit 9e0f19f

Browse files
Merge bitcoin#28512: doc: Be vague instead of wrong about MALLOC_ARENA_MAX
Co-authored-by: fanquake <fanquake@gmail.com>
1 parent d04979f commit 9e0f19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/reduce-memory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ threads take up 8MiB for the thread stack on a 64-bit system, and 4MiB in a
4343

4444
## Linux specific
4545

46-
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 dashd:
46+
By default, glibc's implementation of `malloc` may use more than one arena. This is known to cause excessive memory usage in some scenarios. To avoid this, make a script that sets `MALLOC_ARENA_MAX` before starting dashd:
4747

4848
```bash
4949
#!/usr/bin/env bash

0 commit comments

Comments
 (0)