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.
these parameters are passed to OFBiz, else the current default is passed.
I'll provide a patch for it.
What do you think?