[ofbiz-framework] branch release18.12 updated: Fixed: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release18.12 updated: Fixed: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 547abb7  Fixed: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)
547abb7 is described below

commit 547abb70d6be1fd717639be6c7a9913d8a61d93f
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Thu Aug 13 12:13:00 2020 +0200

    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
---
 gradle.properties | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gradle.properties b/gradle.properties
index a08ddcf..43a3a88 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,4 +17,5 @@
 # under the License.
 ###############################################################################
 
-org.gradle.console=plain
\ No newline at end of file
+org.gradle.console=plain
+org.gradle.jvmargs=-Xmx2g -XX\:MaxHeapSize\=4g