commit | efced3a85d8ea95e73c8885e94ab4d7c8f47ccc6 | [log] [tgz] |
---|---|---|
author | Jean-Louis Monteiro <jlmonteiro@tomitribe.com> | Fri Jan 29 15:02:15 2021 +0100 |
committer | Jean-Louis Monteiro <jlmonteiro@tomitribe.com> | Fri Jan 29 15:02:15 2021 +0100 |
tree | 88de10313638fb4071da2b85fa9b714ff08379c6 | |
parent | 13b69faeacf832078173d1fd5714cbfcac525c42 [diff] |
Limit Maven max memory
diff --git a/runtests b/runtests index d7807c4..fb279c2 100755 --- a/runtests +++ b/runtests
@@ -328,6 +328,9 @@ 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" \