Skip to contentSkip to conversation

malloc.3: write about another possible reason for ENOMEM

PATCH In review Masatake YAMATO 2 participants 2 messages May 6, 2023 – Jun 2, 2023 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 malloc.3: write about another possible reason for ENOMEM

---
 man3/malloc.3 | 3 +++
 1 file changed, 3 insertions(+)
man3/malloc.3 +3 -0
index 0ada87a92..4129a55bd 100644
@@ -226,6 +226,9 @@ or
 .B RLIMIT_DATA
 limit described in
 .BR getrlimit (2).
+Another reason could be that the number of mappings created by the
+caller process exceeded the limit specified by
+.IR /proc/sys/vm/max_map_count .
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
 .BR attributes (7).
Signature · 1 line
2.40.0
#1 lore raw

Hello Masatake,

Quoted 1 line · Masatake YAMATO

Patch applied. Thanks,

Alex

Quoted 18 lines
---
 man3/malloc.3 | 3 +++
 1 file changed, 3 insertions(+)
man3/malloc.3 +3 -0
index 0ada87a92..4129a55bd 100644
@@ -226,6 +226,9 @@ or
 .B RLIMIT_DATA
 limit described in
 .BR getrlimit (2).
+Another reason could be that the number of mappings created by the
+caller process exceeded the limit specified by
+.IR /proc/sys/vm/max_map_count .
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
 .BR attributes (7).
Signature · 2 lines
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5