This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository
https://gitbox.apache.org/repos/asf/ofbiz-framework.gitThe following commit(s) were added to refs/heads/trunk by this push:
new d02a751 Fixed: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)
d02a751 is described below
commit d02a7519858e7698069713156b68dae5ca0a79f7
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