From 59173ff7a7148c2a41d39f28fb1bf44fe0a88e98 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 10 Mar 2021 20:37:56 +0000 Subject: fiber: Double default stack size Stack overflow occurs with some guest applications --- src/common/fiber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/fiber.cpp b/src/common/fiber.cpp index 39532ff58..62010d762 100644 --- a/src/common/fiber.cpp +++ b/src/common/fiber.cpp @@ -11,7 +11,7 @@ namespace Common { -constexpr std::size_t default_stack_size = 256 * 1024; +constexpr std::size_t default_stack_size = 512 * 1024; struct Fiber::FiberImpl { FiberImpl() : stack{default_stack_size}, rewind_stack{default_stack_size} {} -- cgit v1.2.3