Hi, the memory settings themselves are working fine. In particular I need to add the MaxPermSize setting to avoid a “java.lang.OutOfMemoryError: PermGen space” error when running a set of integation tests.
However adding jvmArgs seems to cause the error “java.lang.InternalError: Could not create SecurityManager: jarjar.org.gradle.process.internal.child.BootstrapSecurityManager” - which seems to similar to http://issues.gradle.org//browse/GRADLE-2280 (although I’m not sure its exactly the same issue).
This error is intermittent and the build sometimes works fine. So far I haven’t been able to grab any extra debug info or stack trace (as the builds have worked when I’ve added --stacktrace and --debug)