You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tarun Ramakrishna Elankath <ta...@webkadai.com> on 2003/05/02 21:26:13 UTC

Re: java.lang.OutOfMemoryError - newbie

Try increasing the heap size, say using:
export ANT_OPTS=-Xmx256m
and then running Ant ?


On Fri, 2003-05-02 at 09:53, Vishwas.More@nokia.com wrote:
> All 
> 
> i am trying to create a zip file which includes a Deployxxxx.ear in it.,.
> 
> now  it works fine till i have the line commented out ( as shown ) 
> -----------------
>     <zip zipfile="rls/utils/foms_release.zip" compress="no" update="true" >
>       <zipfileset dir="${build.dir}">
>           <include name="lib/FGOMS.ear"/>
>  <!--         <include name="lib/DeployedFGOMS.ear"/>    -->
>           <include name="lib/customRegistry.jar"/>
>           <include name="lib/wasappserver.jar"/>
>           <include name="config/*"/>
>           <include name="scripts/*"/>
>           <include name="WEBModules/*"/>
>           <include name="public_html/*"/>
>           <include name="foms/*"/>
>       </zipfileset>
>     </zip>
>  --------------
> 
> the moment i UNCOMMENT i get this ERROR
> package:
>    [delete] Deleting directory /frem_base/rls/utils
>     [mkdir] Created dir: /frem_base/rls/utils
>       [zip] Building zip: /frem_base/rls/utils/foms_release.zip
>      [copy] Copying 1 file to /frem_base/rls/utils
>      [copy] Copying 1 file to /frem_base/rls/utils
>      [copy] Copying 33 files to /frem_base/rls/utils
>      [copy] Copying 1 file to /frem_base/rls/utils
>      [copy] Copying 2 files to /frem_base/rls/utils
>      [copy] Copying 2 files to /frem_base/rls/utils
>      [copy] Copying 1 file to /frem_base/rls/utils
>    [delete] Deleting: /frem_base/rls/fgoms.zip
>       [zip] Building zip: /frem_base/rls/fgoms.zip
> 
> BUILD FAILED
> 
> java.lang.OutOfMemoryError
>         <<no stack trace available>>
> 
> 
> any suggestiions 
> 
> thanks
> vishwas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>