I am sorry I misunderstood your question. I though you were already able to apply those JAVA_OPTS and the issue still happened.
In order to apply those JAVA_OPTS, you need to edit the file
Finally restart the services:
sudo /opt/bitnami/ctlscript.sh restart
Now if you run
ps aux | grep Standalone | grep -v grep you will see the new JAVA_OPTS.