dennismayr

gradle.properties for OpenJ9 in Windows (low memory)

Oct 18th, 2021 (edited)
631
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ## For more details on how to configure your build environment visit
  2. # http://www.gradle.org/docs/current/userguide/build_environment.html
  3. #
  4. # Specifies the JVM arguments used for the daemon process.
  5. # The setting is particularly useful for tweaking memory settings.
  6. # Default value: -Xmx1024m -XX:MaxPermSize=256m
  7. # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
  8. #
  9. # When configured, Gradle will run in incubating parallel mode.
  10. # This option should only be used with decoupled projects. More details, visit
  11. # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
  12. # org.gradle.parallel=true
  13. #Fri Aug 07 12:54:47 CLT 2020
  14.  
  15. # Android options
  16. android.enableJetifier=true
  17. android.useAndroidX=true
  18.  
  19. # My super-efficient config:
  20. kapt.incremental.apt=true
  21. kapt.use.worker.api=true
  22. org.gradle.caching=true
  23. org.gradle.console=rich
  24. org.gradle.daemon.idletimeout=3600000
  25. org.gradle.parallel=false
  26. org.gradle.vfs.watch=true
  27.  
  28. # Turn on warnings to check for deprecation options
  29. org.gradle.warning.mode=all
  30.  
  31. # Kotlin options
  32. # Starting from Kotlin 1.40:
  33. kotlinOptions.useIR=true
  34. kotlin.js.compiler=ir
  35. # Kotlin code style for this project: "official" or "obsolete":
  36. kotlin.code.style=official
  37. # Kotlin build options
  38. kotlin.caching.enabled=true
  39. kotlin.incremental=true
  40. kotlin.incremental.js=true
  41.  
  42. # JVM args for OpenJ9:
  43. org.gradle.java.home=C:/Program Files/Semeru/jdk-11.0.12.7-openj9
  44. org.gradle.jvmargs=-Xms512m -Xmx1536m -Xss16m -XcompilationThreads2 -Xgcthreads4 -XX:codecachetotal=512m -Xgc:concurrentScavenge -Xtune:virtualized -XX:+ClassRelationshipVerifier -Xshareclasses -XX:+IdleTuningGcOnIdle -Xjit:enableGPU -XX:+HeapDumpOnOutOfMemory -Dfile.encoding=UTF-8 -Dkotlin.compiler.execution.strategy=in-process
  45. systemProp.kotlin.daemon.jvm.options=-Xms256m -Xmx768m -Xss16m -XcompilationThreads2 -Xgcthreads4 -XX:codecachetotal=384m -Xgc:concurrentScavenge -Xtune:virtualized -XX:+ClassRelationshipVerifier -Xshareclasses -XX:+IdleTuningGcOnIdle -Xjit:enableGPU -XX:+HeapDumpOnOutOfMemory -Dfile.encoding=UTF-8 -Dkotlin.compiler.execution.strategy=in-process
  46.  
  47. systemProp.kotlin.daemon.jvm.options=-Xms256m -Xmx768m -Xss16m -XcompilationThreads2 -Xgcthreads4 -XX:codecachetotal=384m -Xgc:concurrentScavenge -Xtune:virtualized -XX:+ClassRelationshipVerifier -Xshareclasses -XX:+IdleTuningGcOnIdle -Xjit:enableGPU -XX:+HeapDumpOnOutOfMemory -XX:HeapDumpPath=/home/dmayr/JVM_heap_dumps -Dfile.encoding=UTF-8 -Dkotlin.compiler.execution.strategy=in-process
RAW Paste Data