From d27abdb16882685c0a5784b7288763b9a172fc3f Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 14 Mar 2016 22:24:16 -0500 Subject: [PATCH] Remove MaxPermSize Fixes gh-3578 --- gradle/javaprojects.gradle | 2 +- gradlew | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/javaprojects.gradle b/gradle/javaprojects.gradle index 3f6f9b8c84..64086632bc 100644 --- a/gradle/javaprojects.gradle +++ b/gradle/javaprojects.gradle @@ -128,7 +128,7 @@ project.conf2ScopeMappings.addMapping(MavenPlugin.TEST_COMPILE_PRIORITY + 2, pro check.dependsOn integrationTest task springSnapshotTest(type: Test) { - jvmArgs = ['-ea', '-Xmx500m', '-XX:MaxPermSize=128M'] + jvmArgs = ['-ea', '-Xmx500m'] classpath = sourceSets.test.output + sourceSets.main.output + configurations.springSnapshotTestRuntime reports { html.destination = project.file("$buildDir/spring-snapshot-test-results/") diff --git a/gradlew b/gradlew index 8b45b7773e..4c74b4b4c2 100755 --- a/gradlew +++ b/gradlew @@ -7,7 +7,7 @@ ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="-Xmx1024M -XX:MaxPermSize=512M" +DEFAULT_JVM_OPTS="-Xmx1024M" APP_NAME="Gradle" APP_BASE_NAME=`basename "$0"`