From b5ffc50ea486cb5545ae5c5b6a1cdf8f9b484f3f Mon Sep 17 00:00:00 2001 From: ctw-ian Date: Fri, 16 Sep 2022 14:28:56 +0800 Subject: [PATCH] Increase OOM threshold for es2panda Issue:I5RFT8 Signed-off-by: ctw-ian Change-Id: I84a688baa4530b3a24d0c508be56878ae14df581 --- es2panda/aot/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es2panda/aot/main.cpp b/es2panda/aot/main.cpp index f96cb711a1..3bc260f815 100644 --- a/es2panda/aot/main.cpp +++ b/es2panda/aot/main.cpp @@ -39,7 +39,7 @@ class MemManager { public: explicit MemManager() { - constexpr auto COMPILER_SIZE = 128_MB; + constexpr auto COMPILER_SIZE = 512_MB; MemConfig::Initialize(0, 0, COMPILER_SIZE, 0); PoolManager::Initialize(PoolType::MMAP); -- Gitee