File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Keep all these properties in sync unless you know what you are doing!
2
2
# We set '-Dlog4j2.disableJmx=true' to prevent classloader leaks triggered by the logger.
3
3
# (Some of these settings need to be repeated in the test.jvmArgs blocks of each module)
4
- org.gradle.jvmargs =-Dlog4j2.disableJmx -Xmx2g -XX:MaxMetaspaceSize=448m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
4
+ org.gradle.jvmargs =-Dlog4j2.disableJmx -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
5
5
toolchain.compiler.jvmargs =-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
6
6
toolchain.javadoc.jvmargs =-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
7
7
toolchain.launcher.jvmargs =-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=448m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
Original file line number Diff line number Diff line change @@ -459,6 +459,8 @@ tasks.checkstyleMain.source = 'src/main/java'
459
459
tasks. checkstyleMain
460
460
.exclude(' org/hibernate/processor/util/NullnessUtil.java' )
461
461
.exclude(' org/hibernate/internal/util/NullnessUtil.java' )
462
+ // For some big files we need more heap memory than the default 512m for parsing
463
+ tasks. checkstyleMain. maxHeapSize = " 640m"
462
464
463
465
// define a second checkstyle task for checking non-fatal violations
464
466
task nonFatalCheckstyle (type :Checkstyle ) {
You can’t perform that action at this time.
0 commit comments