Hi all,

I'm starting OFBIZ in the background but I'm failing to add memory JVM
options using below commands :

./gradlew ofbizBackground -PjvmArgs="-Xms1024m -Xmx11g"
./gradlew -Porg.gradle.jvmargs=-Xmx11g ofbizBackground

Below is the command that ends up getting executed with Xms128M -Xmx1024M
instead of specified -Xms1024m -Xmx11g in the command

java -Xms128M -Xmx1024M -Dfile.encoding=UTF-8 -Duser.country
-Duser.language=en -Duser.variant -cp /var/www/build/libs/ofbiz.jar
org.apache.ofbiz.base.start.Start

I found the above command in htop.

Kindly let me know how to start OFBIZ in the background with JVM options.

Best regards,

Reply via email to