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 e56500b18b Refactor unit test memory limit so it is unset by default e56500b18b is described below commit e56500b18bd248f26429d9c67b69ebdbc705ae34 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 434628b3d7..cfc0908a02 100644 --- a/build.xml +++ b/build.xml @@ -2031,6 +2031,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. @@ -2050,11 +2052,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