You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by jholloway <ja...@progeny.net> on 2017/06/08 17:59:49 UTC

Feature install runs 30 minutes finishes wiith out of memory error in Felix resolver code

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. 



--
View this message in context: http://karaf.922171.n3.nabble.com/Feature-install-runs-30-minutes-finishes-wiith-out-of-memory-error-in-Felix-resolver-code-tp4050625.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Feature install runs 30 minutes finishes wiith out of memory error in Felix resolver code

Posted by Guillaume Nodet <gn...@apache.org>.
What about just the following command in the karaf console ?
  update org.apache.karaf.features.core
mvn:org.apache.karaf.features/org.apache.karaf.features.core/4.1.1

2017-06-08 19:59 GMT+02:00 jholloway <ja...@progeny.net>:

> 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.
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.
> com/Feature-install-runs-30-minutes-finishes-wiith-out-of-
> memory-error-in-Felix-resolver-code-tp4050625.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 
------------------------
Guillaume Nodet