aboutsummaryrefslogtreecommitdiffstats
path: root/man3/malloc.3
diff options
context:
space:
mode:
authorMasatake YAMATO <yamato@redhat.com>2023-05-07 02:37:19 +0900
committerAlejandro Colomar <alx@kernel.org>2023-06-02 02:02:27 +0200
commit0961dc4e39d6c70aad5f5a41a9c4ff1a27437d91 (patch)
tree2c88484ed592fe5b588c78c2ffde75b5a14a4b97 /man3/malloc.3
parentd7032e66fc0bc441e7a6b0c1704e374f950fb441 (diff)
downloadman-pages-0961dc4e39d6c70aad5f5a41a9c4ff1a27437d91.tar.gz
malloc.3: write about another possible reason for ENOMEM
Signed-off-by: Masatake YAMATO <yamato@redhat.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3/malloc.3')
-rw-r--r--man3/malloc.34
1 files changed, 4 insertions, 0 deletions
diff --git a/man3/malloc.3 b/man3/malloc.3
index b26a1955e4..ae24a251ff 100644
--- a/man3/malloc.3
+++ b/man3/malloc.3
@@ -226,6 +226,10 @@ 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).