mumrah commented on code in PR #19031:
URL: https://github.com/apache/kafka/pull/19031#discussion_r1972112034


##########
build.gradle:
##########
@@ -54,7 +54,7 @@ ext {
   buildVersionFileName = "kafka-version.properties"
 
   defaultMaxHeapSize = "2g"
-  defaultJvmArgs = ["-Xss4m", "-XX:+UseParallelGC"]
+  defaultJvmArgs = ["-Xss4m", "-XX:+UseParallelGC", "-XX:-UseGCOverheadLimit"]

Review Comment:
   @ijuma WDYT about disabling this feature? From what I can tell, this will 
prevent a long GC pause from triggering an OOM. Instead, the build would likely 
just timeout (which it's doing anyways with the OOM happing in the Gradle 
worker).



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to