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

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


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

commit 9414daabec00552faad41bd6c2dcda3403945e97
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 eea8006a86..68b607715f 100644
--- a/build.xml
+++ b/build.xml
@@ -2044,7 +2044,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