Skip to content

Commit

Permalink
Merged in build-oom-fix-gradle4 (pull request #339)
Browse files Browse the repository at this point in the history
Fixing tests OOM
  • Loading branch information
dima767 authored and Jonathan Johnson committed Jul 16, 2019
2 parents 56333d5 + d3e1421 commit f779862
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ plugins {
id 'com.github.breadmoirai.github-release' version '2.2.9'
}

subprojects {
tasks.withType(Test) {
maxHeapSize = "3g"
}
}

tasks.findByName('release').dependsOn project.getTasksByName('test', true)

githubRelease {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hibernate.version=5.2.11.Final

lucene.version=7.2.1

org.gradle.jvmargs=-Xmx4g -XX:-UseGCOverheadLimit
org.gradle.jvmargs=-Xmx1g -XX:-UseGCOverheadLimit

# set token in personal global
i2.github.token=
Expand Down

0 comments on commit f779862

Please sign in to comment.