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