[ 
http://jira.codehaus.org/browse/MASSEMBLY-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Casey updated MASSEMBLY-257:
---------------------------------

              Assignee: John Casey
           Description: 
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 .

  was:
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 .

    Remaining Estimate: 0 minutes
     Original Estimate: 0 minutes

> 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

        

Reply via email to