Force task to run with less memory
diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index 6187c9b..a48e16e 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -230,6 +230,11 @@
                 }
 
                 def containerJavaOpts = get('container.java.opts', "")
+
+                // force memory on tasks because with JDK 8 it's computed with a bit too much
+                containerJavaOpts += "-Xmx256m"
+
+
                 if (options.contains('security')) {
                     log.info("Enabling server security manager")