You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ar...@NIIT.COM on 2002/06/04 17:49:59 UTC

How do i specify the maximum heap size for task

Hi,

While executing <ejbjar> task with <weblogic>, I am getting the following
error:

The system is out of resources.
Consult the following stack trace for details.

java.lang.OutOfMemoryError
        <<no stack trace available>>
Exec failed .. exiting

This is possible in anyway to specify the maximum heap size to use while
executing weblogic.ejbc20 command. I tried the document -J-mx128m option.
This doesn't seem to work. The only way it works is :

java -Xmx128m weblogic.ejbc20 ...........

Is there any way in Ant to do this.?

Regards
Arindam



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>