Application Perf Mgmt (BAC / BSM) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Failed to Upload The Following Scripts - Java Heap Space

SOLVED
Go to Solution
Frequent Advisor

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
Honored Contributor

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.
Highlighted
Frequent Advisor

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.