From 20bc7454f544438801f913c10014f2b7142bebe1 Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Thu, 31 Jul 2025 22:55:11 +0200 Subject: [PATCH 1/2] [build] Increment default thread stack size from to 2MB (was 1MB) (#23638) I suspect the StackOverflow errors started to get triggered recently as our build got larger/more complicated - increae in the thread stack size should mitigate the issue, otherwise, we'll need to investigate it again. --- .jvmopts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.jvmopts b/.jvmopts index a50abf36aa42..d8606eba733e 100644 --- a/.jvmopts +++ b/.jvmopts @@ -1,5 +1,5 @@ --Xss1m --Xms512m --Xmx4096m +-Xss2m +-Xms1024m +-Xmx8192m -XX:MaxInlineLevel=35 -XX:ReservedCodeCacheSize=512m From 67047bf798467897d32982f2d0e640d7452ee220 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Wed, 6 Aug 2025 20:25:00 +0200 Subject: [PATCH 2/2] [build] Increment default thread stack size from to 2MB (was 1MB) (#23638) I suspect the StackOverflow errors started to get triggered recently as our build got larger/more complicated - increae in the thread stack size should mitigate the issue, otherwise, we'll need to investigate it again. [Cherry-picked fe6b7eb1d5a72993b1ebe4f4d02ce3b61f47514f][modified]