Gradle build: set Max PermGen to 256M to make it possible to profile the testsuite