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

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


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

commit 65236d77ab9de51941eff6153ed75f173572f9ac
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 7fa3ccd89f..434628b3d7 100644
--- a/build.xml
+++ b/build.xml
@@ -2050,7 +2050,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