Skip to content

Commit 221b01a

Browse files
committed
Bump the stack size for ASAN builds.
After #17057, building the system image seems to take significantly more stack space, resulting in a StackOverflowError.
1 parent b0ca50b commit 221b01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static void jl_find_stack_bottom(void)
139139

140140
// When using the sanitizers, increase stack size because they bloat
141141
// stack usage
142-
const rlim_t kStackSize = 32 * 1024 * 1024; // 32MB stack
142+
const rlim_t kStackSize = 64 * 1024 * 1024; // 64MiB stack
143143
int result;
144144

145145
result = getrlimit(RLIMIT_STACK, &rl);

0 commit comments

Comments
 (0)