Skip to content

Commit 7014e08

Browse files
committed
doc: remove mention of glibc 2.10+
We already require glibc 2.27+, so mentioning a much older version here is redundant.
1 parent 594f05d commit 7014e08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 bitcoind:
46+
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 bitcoind:
4747

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

src/rpc/node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static RPCHelpMan getmemoryinfo()
163163
{
164164
{"mode", RPCArg::Type::STR, RPCArg::Default{"stats"}, "determines what kind of information is returned.\n"
165165
" - \"stats\" returns general statistics about memory usage in the daemon.\n"
166-
" - \"mallocinfo\" returns an XML string describing low-level heap state (only available if compiled with glibc 2.10+)."},
166+
" - \"mallocinfo\" returns an XML string describing low-level heap state (only available if compiled with glibc)."},
167167
},
168168
{
169169
RPCResult{"mode \"stats\"",

0 commit comments

Comments
 (0)