Hi Liu,
if you set up your application in the XML to run with Java, like java -jar yourapplication.jar, it is sufficient to add the -Xmx parameter. Something like
java -Xmx512m -jar yourapplication.jar
Greets

---
Marco


On 27 June 2011 12:15, liu bo <liubo03@gmail.com> wrote:
Dear all,

I have added an application to Galaxy's Tools.
Now there occurs an error "java.lang.OutOfMemoryError: Java heap space".
Do you know how to set java heap size in Galaxy?
Thank you very much.

Best regards,
Bo
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/