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 28261] New: - java.lang.OutOfMemoryError
Date Wed, 07 Apr 2004 15:45:15 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=28261>.
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=28261

java.lang.OutOfMemoryError

           Summary: java.lang.OutOfMemoryError
           Product: Ant
           Version: 1.6.1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: lbarbier@iso.com


Hello,

I have been trying to automate our deployment to WebSphere 5.0 on z/OS and 
whenever I try to compile the source code I receive the following Out of 
Memory error:

compile:
     [echo] ------------------------------------------------------------
     [echo] Compiling SPI - Specific Property Information
    [javac] Compiling 136 source files
    [javac] Compiling 72 source files
    [javac] Compiling 62 source files
    [javac] Compiling 1 source file
    [javac] Compiling 1 source file
    [javac] Compiling 1 source file
    [javac] Compiling 1 source file
    [javac] Compiling 1 source file
    [javac] Compiling 1 source file
 
 
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
 
    [javac] java.lang.OutOfMemoryError

This doesn't happen all the time. It happens occasionally which is about 25% 
of the time it occurs. I have tried the following:
1. Used ANT_OPTS=-Xmx1024m - Problem occurs 35% of the time
2. Used ANT_OPTS=-Xmx1536m - Problem occurs 25& of the time
3. Used ANT_OPTS=-Xmx2048m - Could not run. Not enough memory could be 
allocated
4. Used javac fork=true memoryInitialSize=512m memoryMaximumSize=1024m - Did 
not work.
5. Used javac fork=true memoryInitialSize=512m memoryMaximumSize=1536m - Did 
not work.
6. Used javac fork=true memoryInitialSize=512m memoryMaximumSize=2048m - Did 
not work.

Does anyone have any other suggestions?

Regards,

Luis

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


Mime
View raw message