You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/02/19 02:36:28 UTC
[jira] Closed: (MASSEMBLY-257) OutOfMemoryError when assembling
large binary file
[ http://jira.codehaus.org/browse/MASSEMBLY-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-257.
--------------------------------
Resolution: Fixed
> OutOfMemoryError when assembling large binary file
> --------------------------------------------------
>
> Key: MASSEMBLY-257
> URL: http://jira.codehaus.org/browse/MASSEMBLY-257
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-1
> Reporter: Jelte van der Hoek
> Assignee: John Casey
> Fix For: 2.2-beta-2
>
> Attachments: fileitem-oome.patch
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> The assembly phase reads all files into a single String, irrespective of whether they need filtering or not.
> This makes it unable to handle large binary files in an assembly.
> The quick fix for this is to not read the file at all if there is no 'lineEnding' nor 'filtered' option set.
> (The long fix would be to not read the file that way)
> Patch against 2.2-beta-1 attached (most of the patch changes .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira