dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Adjust Gradle memory settings

Open adam-enko opened this issue 1 year ago • 0 comments

Adjust memory settings to try to help performance issues on TeamCity.

  • remove custom jvmArgs from TestKit GradleRunner. Custom JVM args might cause additional Gradle TestKit daemons and OOMs on TeamCity - see https://github.com/gradle/gradle/issues/1043
  • Remove integration test parallelism - this will be added later in KT-64377 when configuration cache is enabled
  • Update default jvmargs - most significantly add AlwaysPreTouch which might help prevent OOM by forcing Java to ensure the memory is available.

adam-enko avatar Jan 22 '24 14:01 adam-enko