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 6181265ad0 Refactor unit test memory limit so it is unset by default 6181265ad0 is described below commit 6181265ad04ae26381b375c7646785570e2767db Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Feb 5 08:37:13 2025 +0000 Refactor unit test memory limit so it is unset by default A fixed limit didn't work for all use cases. This approach restores the previous default and allows developers to configure their own if required. --- build.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml index 68b607715f..2d32be7a3e 100644 --- a/build.xml +++ b/build.xml @@ -2025,6 +2025,8 @@ <property name="opens.sunrmi" value="--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"/> <property name="opens.javautil" value="--add-opens=java.base/java.util=ALL-UNNAMED"/> <property name="opens.javautilconcurrent" value="--add-opens=java.base/java.util.concurrent=ALL-UNNAMED"/> + <!-- Set memory properties (unset by default) --> + <property name="test.xmx" value="-Dnoop"/> <macrodef name="runtests" description="Runs the unit tests using the specified connector. @@ -2044,11 +2046,11 @@ errorproperty="test.result.error" failureproperty="test.result.failure" haltonfailure="${test.haltonfailure}" - threads="${test.threads}" - maxmemory="256m"> + threads="${test.threads}"> <jvmarg value="${test.jvmarg.egd}"/> <jvmarg value="-Dfile.encoding=UTF-8"/> + <jvmarg value="${test.xmx}"/> <jvmarg value="${runtests.librarypath}"/> <jvmarg value="${test.formatter}"/> <jvmarg value="-Djava.net.preferIPv4Stack=${java.net.preferIPv4Stack}"/> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org