From 58fc9624c635c4e5ff2b1e8c80e0a199048a31a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sun, 6 Oct 2019 00:00:01 +0000 Subject: [PATCH] 3c3deb14dc8d6511680595dc42cb627d5781746d --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index 65cefd9..2387dfd 100644 --- a/index.html +++ b/index.html @@ -21499,6 +21499,9 @@ echo 1 > /proc/sys/vm/overcommit_memory

If we add the MAP_ANONYMOUS Linux extension however, this is not required, and mmap can be used to allocate memory like malloc.

+
+

Answers: https://stackoverflow.com/questions/4779188/how-to-use-mmap-to-allocate-a-memory-in-heap

+
21.3.4.2. mmap file