pvary commented on code in PR #15541:
URL: https://github.com/apache/iceberg/pull/15541#discussion_r2904204257


##########
build.gradle:
##########
@@ -165,7 +165,8 @@ subprojects {
   if (testParallelism != null) {
     def numTestWorkers
     if (testParallelism.equalsIgnoreCase('auto')) {
-      numTestWorkers = Math.ceil(Runtime.getRuntime().availableProcessors() / 
2.0) as int
+      // Cap at 4 to avoid memory pressure on CI runners (each fork uses up to 
1500m heap)
+      numTestWorkers = 
Math.min(Math.ceil(Runtime.getRuntime().availableProcessors() / 2.0) as int, 4)

Review Comment:
   Could we just separate the 2 changes?
   The Flink timeout is non-questionable. I would like to merge it ASAP



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to