HHH-14283 Review tuning of JVM parameters for the build
This commit is contained in:
parent
a8d82d003f
commit
bacc5e6b11
|
@ -1,2 +1,2 @@
|
|||
# Keep system properties in sync with test system properties (java-module.gradle)!
|
||||
org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
|
|
|
@ -175,10 +175,10 @@ tasks.withType( Test.class ).all { task ->
|
|||
task.jvmArgs += [
|
||||
'-XX:+HeapDumpOnOutOfMemoryError',
|
||||
"-XX:HeapDumpPath=${file( "${buildDir}/OOM-dump.hprof" ).absolutePath}",
|
||||
'-XX:MetaspaceSize=512M'
|
||||
'-XX:MetaspaceSize=256M'
|
||||
]
|
||||
|
||||
task.maxHeapSize = '4G'
|
||||
task.maxHeapSize = '3G'
|
||||
|
||||
task.systemProperties['hibernate.test.validatefailureexpected'] = true
|
||||
task.systemProperties += System.properties.findAll { it.key.startsWith( "hibernate." ) }
|
||||
|
|
Loading…
Reference in New Issue