Failed to Upload The Following Scripts - Java Heap Space (747 Views)
Reply
Frequent Advisor
scorpionida
Posts: 43
Registered: ‎05-12-2011
Message 1 of 3 (747 Views)
Accepted Solution

Failed to Upload The Following Scripts - Java Heap Space

Hello

 

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?

 

thanks.

Please use plain text.
Honored Contributor
Sujith Kumar C.S
Posts: 868
Registered: ‎04-07-2010
Message 2 of 3 (744 Views)

Re: Failed to Upload The Following Scripts - Java Heap Space

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.ini
from
 -Xms800m -Xmx800m -XX:NewSize=160m -XX:MaxNewSize=160m -XX:PermSize=228m -XX:MaxPermSize=228m
to (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.

 

--Sujith

Close the thread if your issue is resolved to make the thread meaningful and complete. Do show gratitude to people who helped you by assigning points.
Please use plain text.
Frequent Advisor
scorpionida
Posts: 43
Registered: ‎05-12-2011
Message 3 of 3 (735 Views)

Re: Failed to Upload The Following Scripts - Java Heap Space

[ Edited ]

hello,

 

my mercuryAs_vm_params file already

-Xms1326m -Xmx1326m -XX:PermSize=500m -XX:MaxPermSize=500m

i changed my Xmx value to 3000

 

and its worked :)

 

thanks.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation