You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/12/07 16:09:28 UTC

DO NOT REPLY [Bug 32566] New: - OutOfMemory if filesize are greater than 7 MB

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=32566>.
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=32566

           Summary: OutOfMemory if filesize are greater than 7 MB
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Build Process
        AssignedTo: dev@ant.apache.org
        ReportedBy: michael.gellner@finanzit.com


Dear community,

sorry, I guess I found some trouble on ant 1.6.2.

I tried a replace operation (conversion from ASCII coded files to ANSI coded 
files, i.e. in our case converting only around a dozen symbols in a large 
amount of small to middle sized files).
The replace built failed always, if files became accessed that were bigger 
than 6.5 MByte. This could be reproduced. An OutOfMemory exception occured. I 
checked this with certain files to exclude the case that certain symbols or 
something like that was responsible. It is definitely the filesize that causes 
the crash.

Further on:
I process directories file by file. If there is a number of files processed, 
this crashing exception occurs even in files that are significantly smaller 
than 6.5 MB (my smallest observation was a crash on a 4 MB file in a directory 
structure with around 16 000 files that add to around 500 MB).

And on:
If I combine the replace task with a copy task (first copy, than replace on 
the backuped structure mentioned above) the built already crashes on the copy 
task. Again with the java side OutOfMemory exception. I tried this with Java 
SDK 1.4.1 and SDK 1.4.2, as well as with Xmx2048 option. For that reason I am 
sure that the problem is not really the available memory.

I hope someone is able to reproduce this findings and maybe to correct in some 
later version.

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