Skip to content

Commit

Permalink
Merge bitcoin#28512: doc: Be vague instead of wrong about MALLOC_AREN…
Browse files Browse the repository at this point in the history
…A_MAX
  • Loading branch information
fanquake authored and Frank-GER committed Sep 25, 2023
1 parent 6585dc7 commit f953458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/reduce-memory.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ threads take up 8MiB for the thread stack on a 64-bit system, and 4MiB in a

## Linux specific

By default, glibc 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 syscoind:
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 syscoind:

```bash
#!/usr/bin/env bash
Expand Down

0 comments on commit f953458

Please sign in to comment.