maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MASSEMBLY-257) OutOfMemoryError when assembling large binary file
Date Fri, 01 Feb 2008 15:49:57 GMT

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

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

    Fix Version/s: 2.2-beta-2

> 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
>             Fix For: 2.2-beta-2
>
>         Attachments: fileitem-oome.patch
>
>
> 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

        

Mime
View raw message