You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Michael Brohl (JIRA)" <ji...@apache.org> on 2018/03/06 15:43:00 UTC
[jira] [Created] (OFBIZ-10253) Pass JVM options to OFBiz when using
Gradle
Michael Brohl created OFBIZ-10253:
-------------------------------------
Summary: Pass JVM options to OFBiz when using Gradle
Key: OFBIZ-10253
URL: https://issues.apache.org/jira/browse/OFBIZ-10253
Project: OFBiz
Issue Type: Improvement
Components: Gradle
Affects Versions: Trunk
Reporter: Michael Brohl
Assignee: Michael Brohl
Fix For: 17.12.01, 16.11.05
In the current setup of Gradle, it is not possible to pass parameters to the OFBIZ JVM. Possible parameters are passed to the Gradle wrapper but not to OFBiz.
OFBiz only gets the hard coded jvmArguments list defined in the build file.
I suggest to do a simple imporvement to the build.gradle file. If you pass e.g.
{code:java}
-PjvmArgs="-Xms1024M -Xmx2048M"{code}
these parameters are passed to OFBiz, else the current default is passed.
I'll provide a patch for it.
What do you think?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)