I am running websphere-ant batch to build .ear file. i am getting the following error [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] [javac] java.lang.OutOfMemoryError [javac] <<no stack trace available>> I am using Websphere4.0.3 application server. My System RAM size is 512MB. Even i tried by setting the heapsize, but no luck. Expecting early reply.