diff --git a/ion/src/simulator/shared/main_headless.cpp b/ion/src/simulator/shared/main_headless.cpp index 8dd954729..0f1fee2de 100644 --- a/ion/src/simulator/shared/main_headless.cpp +++ b/ion/src/simulator/shared/main_headless.cpp @@ -14,7 +14,11 @@ #endif constexpr int kHeapSize = 131072; +#if DEBUG +constexpr int kStackSize = 32768*2; // In DEBUG mode, we increase the stack to be able to pass the tests +#else constexpr int kStackSize = 32768; +#endif char heap[kHeapSize]; extern "C" {