Reverts: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)
Most likely a local error on my machine because nobody else complained and my
machine did not reboot for weeks
Or an issue with Gradle 6.5.1, but I doubt.
Anyway I still got the
"Expiring Daemon because JVM heap space is exhausted"
error with "org.gradle.jvmargs=-Xmx2g -XX\:MaxHeapSize\=4g"
console
(OFBIZ-10915)
Since we use Gradle 5.0 we have this issue, at least in Windows, It's known by
the Gradle Community
They suggest to pass --console plain to the command and some others suggest to
add org.gradle.console=plain to gradle.properties file which is IMO a better
(less invasive) solution.
I tested in Ubuntu and the problem does not occur there. I don't know for other
*nix distributions.
Anyway, IMO there is also another advantage: you don't see a percentage in
console, often confusing for newbies.
That's why I prefer to add a gradle.properties file rather than modifying the
gradlew.bat file (both works in WIndows).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857152 13f79535-47bb-0310-9956-ffa450edef68