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 39666] New: - Ant runs out of memory on JDK 1.5
Date Fri, 26 May 2006 13:29:58 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=39666>.
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=39666

           Summary: Ant runs out of memory on JDK 1.5
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: binfan1984@yahoo.com


I had a build.xml file works fine under JDK 1.4.2. After I upgrade JDK to 1.5,
the ANT build failed with an out of memory error. 

After some investigation, I found this is because of the directory name used 
in my class path has a "." in it:

<classpath>
  <fileset dir="D:/view/bfan_cba_512/modules/reporting/staging/tam-
tbm.ear/xma" >
    <include name="*.jar"/>
  </fileset>
</classpath>

The "." in "tam-tbm.ear" caused this problem:

    [javac] error: error reading D:\view\bfan_cba_512
\modules\reporting\staging\
tam-
tbm.ear\xma\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\
.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.
\
.\.\.\.\.\.\.\.\.\..\lib\jakarta-oro.jar; error in opening zip file

[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.OutOfMemoryError: Java heap space

The problem disappeared after I switched back to JDK 1.4

-- 
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