[
https://issues.apache.org/jira/browse/KARAF-5187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926523#comment-16926523
]
Wiep Nijdam commented on KARAF-5187:
------------------------------------
I have a similar issue. We are currently involved in upgrading from karaf-3.0.8
towards karaf-4.2.6. The feature that worked perfectly and without problems in
3.0.8 is causing the exact same problems as described above. The comment from
june 29th is not the issue: all bundles choose from the same set of
dependencies. What we did found out sofar is that when different <feature>s
refer to the same dependencies the installer starts claiming memory until
nothing is left resulting in an out-ot-memory error.
We choose for this construction because it sometimes is convenient to not
install the complete application but only part of it for e.g. problem solving
or extension.
> Feature install runs 30 minutes and gets out of memory error in Felix
> resolver code
> -----------------------------------------------------------------------------------
>
> Key: KARAF-5187
> URL: https://issues.apache.org/jira/browse/KARAF-5187
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.0.9
> Environment: Linux
> Reporter: Jay Holloway
> Priority: Major
>
> We are currently using Karaf 4.0.9. We have a feature file that has worked
> for us for over a year. We have noticed a slight degradation during the
> feature install in the past few months as we have added bundles and
> sub-features to our feature file. Recently, we added numerous new
> sub-features and bundles to our one feature file. Currently, the feature
> install hangs between 15 and 45 minutes until we get a Java heap space out of
> memory error. The print stack trace shows that it is in the Felix resolver
> the entire time. However, when we downloaded, setup and configured Karaf
> 4.1.1, the same feature file installed with no problem and very quickly. Is
> there something we can do within Karaf 4.0.9 to make it process our feature
> file more efficiently without hanging? Officially upgrading to Karaf 4.1.1
> is out of our control.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)