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 23049] New: - OutOfMemoryError on Solaris
Date Wed, 10 Sep 2003 03:05:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23049

OutOfMemoryError on Solaris

           Summary: OutOfMemoryError on Solaris
           Product: Ant
           Version: 1.1
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: suvarna_m@thbs.com


Hi All,

Recently we upgrated to Websphere5.0, which also provides customized ant 
package for building the sources( ws_ant). I was able to use this to build our 
project which has 590 source files on windows without any issues. But, when i 
run the ws_ant script on Solaris, after 1-2 minutes, build fails with following 
error message. Please find the stack trace below.
-----------------------------------------------
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.

    [javac] java.lang.OutOfMemoryError
    [javac]     at java.util.zip.ZipFile.open(Native Method)
    [javac]     at java.util.zip.ZipFile.<init>(ZipFile.java:105)
    [javac]     at java.util.zip.ZipFile.<init>(ZipFile.java:70)
    [javac]     at com.sun.tools.javac.v8.code.ClassReader.openArchive
(ClassReader.java:890)
    [javac]     at com.sun.tools.javac.v8.code.ClassReader.list
(ClassReader.java:1113)
    [javac]     at com.sun.tools.javac.v8.code.ClassReader.listAll
(ClassReader.java:1209)
    [javac]     at com.sun.tools.javac.v8.code.ClassReader.fillIn
(ClassReader.java:1231)
    [javac]     at com.sun.tools.javac.v8.code.ClassReader.complete
(ClassReader.java:973)
    [javac]     at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
    [javac]     at com.sun.tools.javac.v8.code.Symbol$PackageSymbol.flags
(Symbol.java:485)
    [javac]     at com.sun.tools.javac.v8.code.Symbol$PackageSymbol.exists
(Symbol.java:496)
    [javac]     at com.sun.tools.javac.v8.comp.Enter$CompleteEnter.complete
(Enter.java:858)
    [javac]     at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:366)
    [javac]     at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:544)
    [javac]     at com.sun.tools.javac.v8.JavaCompiler.compile
(JavaCompiler.java:357)
    [javac]     at com.sun.tools.javac.v8.Main.compile(Main.java:247)
    [javac]     at com.sun.tools.javac.Main.compile(Main.java:26)
    [javac]     at java.lang.reflect.Method.invoke(Native Method)
    [javac]     at org.apache.tools.ant.taskdefs.compilers.Javac13.execute
(Javac13.java:100)
    [javac]     at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
    [javac]     at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
    [javac]     at org.apache.tools.ant.Task.perform(Task.java:341)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:309)
    [javac]     at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [javac]     at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [javac]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
    [javac]     at org.apache.tools.ant.taskdefs.CallTarget.execute
(CallTarget.java:143)
    [javac]     at org.apache.tools.ant.Task.perform(Task.java:341)
    [javac]     at org.apache.tools.ant.Target.execute(Target.java:309)
    [javac]     at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [javac]     at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [javac]     at org.apache.tools.ant.Project.executeTargets
(Project.java:1255)
    [javac]     at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [javac]     at org.apache.tools.ant.Main.start(Main.java:196)
    [javac]     at org.apache.tools.ant.Main.main(Main.java:235)
-------------------------------------------

I have tried the possible options to fork a new process, memoryMaximumSize  in 
<javac> task, but no results.

Thanks in advance
Suvarna

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


Mime
View raw message