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