From d2247783309c088ff24cea635edb72c4f0128216 Mon Sep 17 00:00:00 2001 From: Hugo Saint-Vignes Date: Mon, 5 Oct 2020 15:12:13 +0200 Subject: [PATCH] [ion/simulator] Temporarly increase stack size on simulator Change-Id: I0f27277ea704f81e316c7ff78fb7bed8c70ff4ae --- ion/src/simulator/shared/main_headless.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ion/src/simulator/shared/main_headless.cpp b/ion/src/simulator/shared/main_headless.cpp index d4e96e181..8b8fec39c 100644 --- a/ion/src/simulator/shared/main_headless.cpp +++ b/ion/src/simulator/shared/main_headless.cpp @@ -15,7 +15,9 @@ constexpr int kHeapSize = 131072; #ifdef NDEBUG -constexpr int kStackSize = 32768; +/* TODO : Reduce stack memory cost in prime factorization to allow running + * tests with the actual stack size */ +constexpr int kStackSize = 32768*10; #else constexpr int kStackSize = 32768*10; // In DEBUG mode, we increase the stack to be able to pass the tests #endif