Reduce memory requirements for gradle and js backend tests
This commit is contained in:
@@ -29,8 +29,8 @@ fun Project.projectTest(body: Test.() -> Unit = {}): Test = (tasks.findByName("t
|
||||
}
|
||||
}
|
||||
}
|
||||
jvmArgs("-ea", "-XX:+HeapDumpOnOutOfMemoryError", "-Xmx1200m", "-XX:+UseCodeCacheFlushing", "-XX:ReservedCodeCacheSize=128m", "-Djna.nosys=true")
|
||||
maxHeapSize = "1200m"
|
||||
jvmArgs("-ea", "-XX:+HeapDumpOnOutOfMemoryError", "-Xmx1100m", "-XX:+UseCodeCacheFlushing", "-XX:ReservedCodeCacheSize=128m", "-Djna.nosys=true")
|
||||
maxHeapSize = "1100m"
|
||||
systemProperty("idea.is.unit.test", "true")
|
||||
environment("NO_FS_ROOTS_ACCESS_CHECK", "true")
|
||||
environment("KOTLIN_HOME", rootProject.extra["distKotlinHomeDir"])
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.parallel=false
|
||||
org.gradle.configureondemand=false
|
||||
org.gradle.jvmargs=-Xmx1200m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
|
||||
org.gradle.jvmargs=-Xmx1000m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
|
||||
|
||||
systemProp.bootstrap.kotlin.repo=https://dl.bintray.com/kotlin/kotlin-dev
|
||||
systemProp.bootstrap.kotlin.version=1.1.5-dev-970
|
||||
|
||||
@@ -3,16 +3,20 @@ apply { plugin("kotlin") }
|
||||
|
||||
dependencies {
|
||||
testCompile(project(":compiler.tests-common"))
|
||||
testCompile(project(":compiler:frontend"))
|
||||
testCompile(project(":compiler:cli"))
|
||||
testCompileOnly(project(":compiler:frontend"))
|
||||
testCompileOnly(project(":compiler:cli"))
|
||||
testCompileOnly(project(":compiler:util"))
|
||||
testCompile(project(":js:js.translator"))
|
||||
testCompile(project(":js:js.serializer"))
|
||||
testCompile(project(":js:js.dce"))
|
||||
testCompile(ideaSdkDeps("openapi", "idea"))
|
||||
testRuntime(commonDep("junit:junit"))
|
||||
testRuntime(projectDist(":kotlin-test:kotlin-test-jvm"))
|
||||
testRuntime(projectDist(":kotlin-test:kotlin-test-junit"))
|
||||
testRuntime(projectDist(":kotlin-stdlib"))
|
||||
testRuntime(projectDist(":kotlin-reflect"))
|
||||
testRuntime(project(":compiler:backend-common"))
|
||||
testRuntime(ideaSdkDeps("*.jar"))
|
||||
// testRuntime(ideaSdkDeps("*.jar"))
|
||||
testRuntime(commonDep("org.fusesource.jansi", "jansi"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user