The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Application Perf Mgmt (BAC / BSM) Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to Upload The Following Scripts - Java Heap Space

SOLVED
Go to solution
Highlighted
scorpionida
Super Collector

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.

2 REPLIES
Sujith Kumar C.
Honored Contributor
Solution

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.
scorpionida
Super Collector

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

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.

//Add this to "OnDomLoad" event