ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: java.lang.OutOfMemoryError - newbie
Date Fri, 02 May 2003 14:04:35 GMT
I got something very similar, I had to use ANT_OPTS and turn on incremental
garbage collection and boost the memory allocation and it went away.

look at java -x

-----Original Message-----
From: Vishwas.More@nokia.com [mailto:Vishwas.More@nokia.com]
Sent: Friday, May 02, 2003 12:23 AM
To: user@ant.apache.org
Subject: java.lang.OutOfMemoryError - newbie 


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message