This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new b4869918e6 Limit maximum memory to 256m for test threads
b4869918e6 is described below

commit b4869918e630aec1ca524c603037c9a8eadfc770
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Feb 3 10:02:03 2025 +0000

    Limit maximum memory to 256m for test threads
    
    I was observing OOME with runs using a large number of threads on a
    machine with lots of cores.
---
 build.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.xml b/build.xml
index ae9cfe2243..b0ad36272f 100644
--- a/build.xml
+++ b/build.xml
@@ -2046,7 +2046,8 @@
           errorproperty="test.result.error"
           failureproperty="test.result.failure"
           haltonfailure="${test.haltonfailure}"
-          threads="${test.threads}">
+          threads="${test.threads}"
+          maxmemory="256m">
 
           <jvmarg value="${test.jvmarg.egd}"/>
           <jvmarg value="-Dfile.encoding=UTF-8"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to