This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Parameters cannot be passed to java for the execution of ant. For example in the execution of 'org.apache.catalina.ant.DeployTask' throws java.lang.OutOfMemoryError, in order to solve it would be necessary it to pass '-Xmx512M'. Thanks.
You can just give the IDE more memory (netbeans.conf). It may be a bug in the task you mention that it consumes huge amounts of memory, however. *** This issue has been marked as a duplicate of 41689 ***