Commit Graph
5 Commits
Author SHA1 Message Date
Michael Brohl d61e0e7558 Improved: added an example memory setting notice for the case of heap
memory problems during build.
2021-02-08 17:19:58 +01:00
Jacques Le Roux d014dfa4ed Fixed: wrong maxheapsize (OFBIZ-11967)
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"
2020-08-21 11:33:14 +02:00
Jacques Le Roux d02a751985 Fixed: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)
Today I got this in log out of the blue:

  Daemon will be stopped at the end of the build after running out of JVM memory
  Expiring Daemon because JVM heap space is exhausted

I checked there was no OutOfMemoryError exception. And apart that in log, the
applications were running well

The most relevant articles I found on the Net were:
https://stackoverflow.com/questions/56075455/expiring-daemon-because-jvm-heap-space-is-exhausted
https://medium.com/@tiwarishani/expiring-daemon-because-jvm-heap-space-is-exhausted-in-react-native-e17c2248c8af

I'm not sure this issue will reproduce (why just now?). I'll discuss this on dev
ML before increasing org.gradle.jvmargs

Thanks: Daniel Watford to confirm on dev ML
2020-08-13 12:13:00 +02:00
Jacques Le Roux 3459cbec98 Improved: no functional change
Adds a missing ASL2 header

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857154 13f79535-47bb-0310-9956-ffa450edef68
2019-04-09 10:11:16 +00:00
Jacques Le Roux ab70a5ba17 Fixed: Terminal automatically scrolls down on never ending tasks with the new
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
2019-04-09 10:09:15 +00:00