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

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


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

commit 1dbe55ee39f1a7b14effea46c7be1be7cb3d23b6
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 f47b137d1c..bdb0b0cf7a 100644
--- a/build.xml
+++ b/build.xml
@@ -2043,7 +2043,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