Revert "Remove MaxPermSize"

Continue to support older JDK versions

This reverts commit d27abdb168.
This commit is contained in:
Rob Winch 2016-03-15 15:20:03 -05:00
parent 988b54ec3d
commit ce20cfcb98
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ project.conf2ScopeMappings.addMapping(MavenPlugin.TEST_COMPILE_PRIORITY + 2, pro
check.dependsOn integrationTest
task springSnapshotTest(type: Test) {
jvmArgs = ['-ea', '-Xmx500m']
jvmArgs = ['-ea', '-Xmx500m', '-XX:MaxPermSize=128M']
classpath = sourceSets.test.output + sourceSets.main.output + configurations.springSnapshotTestRuntime
reports {
html.destination = project.file("$buildDir/spring-snapshot-test-results/")

2
gradlew vendored
View File

@ -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"
DEFAULT_JVM_OPTS="-Xmx1024M -XX:MaxPermSize=512M"
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`