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

jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git


The following commit(s) were added to refs/heads/master by this push:
     new efced3a  Limit Maven max memory
efced3a is described below

commit efced3a85d8ea95e73c8885e94ab4d7c8f47ccc6
Author: Jean-Louis Monteiro <[email protected]>
AuthorDate: Fri Jan 29 15:02:15 2021 +0100

    Limit Maven max memory
---
 runtests | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/runtests b/runtests
index d7807c4..fb279c2 100755
--- a/runtests
+++ b/runtests
@@ -328,6 +328,9 @@ echo "" # just an empty line
 egrep '(javaee|jakarta).(ri|cts).home' ~/.m2/settings.xml | perl -pe 's,^ 
*|<[^>]+>,,g' | while read n; do echo $n; ls -l $n; done
 
 
+# attempt to limit the memory for Maven
+export MAVEN_OPTS="-Xmx128m"
+
 # Fire up Maven to do the real work
 if [ -z $nc ]; then
 exec mvn -V --file "$DIRNAME/pom.xml" \

Reply via email to