ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36156] New: - Linux - Build process fails OutOfMemoryError
Date Fri, 12 Aug 2005 03:34:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36156>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36156

           Summary: Linux - Build process fails OutOfMemoryError
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Keywords: ErrorMessage
          Severity: normal
          Priority: P1
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: lakshmioffice@yahoo.com


Increased heap size in .bash_profile 

export ANT_OPTS="-Xms2548m -Xmx2548m"

Been a AS/400 guy, into linux/ant build stuff now. Going crazy. The build is 
huge application and has multiple XMLs.

Verbose log

      [jar] adding entry 
com/yantra/ycp/customdb/YFS_Agent_Criteria_TemplateImpl.class
      [jar] adding entry 
com/yantra/ycp/customdb/YFS_Answer_Capacity_ImpactImpl.class
      [jar] adding entry com/yantra/ycp/customdb/YFS_Answer_MasterImpl.class
      [ant] Exiting /app/yandev00/NOMSbuild/deploy/script/yantraBuild.xml.
java.lang.OutOfMemoryError: ZIP004:OutOfMemoryError, MEM_ERROR in inflateInit2
        at java.util.zip.Inflater.init(Native Method)
        at java.util.zip.Inflater.<init>(Inflater.java(Compiled Code))
        at java.util.zip.ZipFile.getInflater(ZipFile.java:284)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:228)
        at java.util.zip.ZipFile.getInputStream(ZipFile.java:207)
        at java.util.jar.JarFile.getInputStream(JarFile.java:420)
        at sun.misc.URLClassPath$5.getInputStream(URLClassPath.java:678)
        at sun.misc.Resource.getBytes(Resource.java:75)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:471)
        at java.net.URLClassLoader.access$500(URLClassLoader.java(Inlined 
Compiled Code))
        at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java
(Compiled Code))
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java
(Compiled Code))
        at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled 
Code))
        at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
        at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
        at org.apache.tools.ant.DefaultLogger.formatTime
(DefaultLogger.java:276)
        at org.apache.tools.ant.DefaultLogger.buildFinished
(DefaultLogger.java:156)
        at org.apache.tools.ant.Project.fireBuildFinished(Project.java:1796)
        at org.apache.tools.ant.Main.runBuild(Main.java:693)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
ZIP004:OutOfMemoryError, MEM_ERROR in inflateInit2

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message