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 11#  Keep all these properties in sync unless you know what you are doing!
22#  We set '-Dlog4j2.disableJmx=true' to prevent classloader leaks triggered by the logger.
33#  (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 
55toolchain.compiler.jvmargs =-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8 
66toolchain.javadoc.jvmargs =-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8 
77toolchain.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'
459459tasks. checkstyleMain
460460		.exclude(' org/hibernate/processor/util/NullnessUtil.java'  )
461461		.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" 
462464
463465//  define a second checkstyle task for checking non-fatal violations
464466task nonFatalCheckstyle (type :Checkstyle ) {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments