You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by hu...@apache.org on 2022/08/16 09:16:00 UTC
[tomee-tck] 09/49: Limit Maven max memory
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit efced3a85d8ea95e73c8885e94ab4d7c8f47ccc6
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
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" \