I have fixed this in 0.0.253. I am now trying to take advantage of
available() but you wonder how much the author of that method had been
drinking :-(
Kind regards,
Peter Kriens
On 8 apr 2008, at 04:36, Stuart McCulloch (JIRA) wrote:
>
> [
> http://issues.ops4j.org/jira/browse/PAXURL-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11237
>
> ]
>
> Stuart McCulloch commented on PAXURL-17:
> ----------------------------------------
>
> Hi Evan,
>
> Feel free to contact Peter directly with your suggested fix, he's
> very approachable and always interested in improving Bnd.
>
> If/when Peter accepts your patch please update this issue with
> the version of Bnd containing the fix and then we can go round
> updating the various projects that use it.
>
> HTH
>
>> OutOfMemoryError When Pax WAR Wraps a WAR with Large Libraries
>> --------------------------------------------------------------
>>
>> Key: PAXURL-17
>> URL: http://issues.ops4j.org/jira/browse/PAXURL-17
>> Project: Pax URL
>> Issue Type: Bug
>> Components: war
>> Affects Versions: 0.3.1
>> Environment: Equinox running with Java 6 in Windows
>> Reporter: Evan Cowden
>> Assignee: Alin Dreghiciu
>> Original Estimate: 2 hours
>> Remaining Estimate: 2 hours
>>
>> When Pax WAR wraps a WAR file with a large library in the lib
>> directory (10MB seems to do it), it will throw an
>> OutOfMemoryError. This is caused by
>> aQute.lib.osgi.EmbeddedResource.collect(), which uses recursion to
>> read the library in 10K chunks, eventually blowing up the heap. I
>> have confirmed that the problem can be fixed by reading the input
>> stream in a loop rather than using recursion.
>> Problem is: this is not an OPS4J library, but rather belongs to
>> Peter Krien's bndlib. What is the process for integrating a fix?
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the
> administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general