From 9706f5a311451f35d183ef55e29893b229b38099 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 12 May 2021 03:06:57 -0400 Subject: [PATCH] increase class region size on Android to 2GiB --- Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Android.bp b/Android.bp index 4a92c62..fe6a92b 100644 --- a/Android.bp +++ b/Android.bp @@ -27,7 +27,7 @@ common_cflags = [ "-DREGION_QUARANTINE_QUEUE_LENGTH=1024", "-DREGION_QUARANTINE_SKIP_THRESHOLD=33554432", // 32MiB "-DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32", - "-DCONFIG_CLASS_REGION_SIZE=1073741824", // 1GiB + "-DCONFIG_CLASS_REGION_SIZE=2147483648", // 2GiB "-DN_ARENA=1", "-DCONFIG_STATS=true", ]