mbutov
(Maxim Butov)
1
When running JUnit test which produces many EOLs in its output, Gradle gets OutOfMemoryError.
The example is here: https://github.com/mbutov/gradle-oom.
In this example:
- Maximum heap size for tests: 128m
- Total size of test output: 728k
- Gradle version: 2.11
sterling
(Sterling Greene)
2
Thanks, which version of Java are you using?
mbutov
(Maxim Butov)
3
Gradle 2.10 - 2.11, Oracle Jdk 1.8.0_31-b13 x64, Ubuntu 14.04
lhotari
(Lari Hotari)
4
This change might help a bit with memory consumption, however I haven’t yet checked if it helps with the case you presented. https://github.com/gradle/gradle/commit/1746300a , that was made as a fix for https://issues.gradle.org/browse/GRADLE-3329