I'm getting
e: java.lang.OutOfMemoryError: GC overhead limit exceeded
on CI (
see the logs), likely in
compileTestDevelopmentExecutableKotlinWasmJs
. Sometimes it passes, so I thought giving Gradle/compiler more memory (2 -> 4 GiB) would help, but it still fails. I also tried disabling WASM JS tests:
kotlin {
wasmJs {
browser {
// ...
testTask {
enabled = false
}
}
}
}
but looks like the build logic still tries to compile the tests for WASM.
1. Is it a known problem in general? I think it's a sign of something bad going on in the compiler.
2. How can I skip WASM tests entirely, so that
compileTestDevelopmentExecutableKotlinWasmJs
isn't executed? I think making the test task disabled should exclude this task from the task tree?