From 96a322bcbe773cfa12881d71d18786ec1f70c619 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 12 May 2021 10:32:59 -0400 Subject: [PATCH] raise max_map_count recommendation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7cea6f6..2b667b1 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ large number of guard pages created by hardened\_malloc. This can be done in `init.rc` (`system/core/rootdir/init.rc`) near the other virtual memory configuration: - write /proc/sys/vm/max_map_count 524240 + write /proc/sys/vm/max_map_count 1048576 This is unnecessary if you set `CONFIG_GUARD_SLABS_INTERVAL` to a very large value in the build configuration.