File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,9 @@ tasks {
363363 }
364364
365365 asciidoctorPdf {
366- setExecutionMode(JAVA_EXEC ) // Avoid classpath conflicts with other Gradle plugins (e.g. JReleaser)
366+ // Avoid classpath conflicts with other Gradle plugins (e.g. JReleaser)
367+ // Avoid propagating apparent memory leaks in Asciidoctor/JRuby to Gradle daemon.
368+ setExecutionMode(JAVA_EXEC )
367369 jvm {
368370 maxHeapSize = " 512M"
369371 }
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ version = 6.1.0-SNAPSHOT
33# For backward compatibility checks
44apiBaselineVersion = 6.0.1
55
6- # We need more metaspace due to apparent memory leak in Asciidoctor/JRuby
7- org.gradle.jvmargs =-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError
6+ org.gradle.jvmargs =-Xmx1g -XX:+HeapDumpOnOutOfMemoryError
87org.gradle.caching =true
98org.gradle.parallel =true
109org.gradle.configuration-cache.parallel =true
You can’t perform that action at this time.
0 commit comments