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" \