When i try to upload a bpm script to the script reposityory i gave this error
" Failed to Upload The Following Scripts failed to create script system error ocurred java heap space"
how can increase java heap? or what is the solution?
Go to Solution.
Can you upload the jboss_server.log and topaz_all.ejb.log?
I am giving you the fix which may work now only but share the logs first then I will let you know to do this or not.
Modify the file <BAC_install_dir>\bin\mercury_as_vm_params.inifrom -Xms800m -Xmx800m -XX:NewSize=160m -XX:MaxNewSize=160m -XX:PermSize=228m -XX:MaxPermSize=228mto (for example) -Xms800m -Xmx1200m -XX:NewSize=160m -XX:MaxNewSize=160m -XX:PermSize=228m -XX:MaxPermSize=228m
restart BAC, and try to upload the script again. If it still fails, the value for -Xmx might need an ever higher value.
my mercuryAs_vm_params file already
-Xms1326m -Xmx1326m -XX:PermSize=500m -XX:MaxPermSize=500m
i changed my Xmx value to 3000
and its worked :)