You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2016/02/04 18:41:40 UTC

[jira] [Resolved] (ARIES-1459) Installing subsystem with large number of constituents takes forever or gives out of memory

     [ https://issues.apache.org/jira/browse/ARIES-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert resolved ARIES-1459.
-------------------------------------
    Resolution: Fixed

I did not have time yet to try it with the latest resolver, but I'm closing this as fixed, as I assume that upgrading to the newer resolver will help as indicated. If I see it again I'll reopen.

> Installing subsystem with large number of constituents takes forever or gives out of memory
> -------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1459
>                 URL: https://issues.apache.org/jira/browse/ARIES-1459
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: subsystem-2.0.6
>            Reporter: David Bosschaert
>
> Installing a large subsystem that contains a lot of bundles can cause the resolution phase to run for hours and sometimes causes out of memory, even with a feature subsystem.
> I think this is caused by the fact that all the bundles inside the subsystem are attempted to be resolved in one shot. When you have 200+ bundles that gives an enormous resolution problem space.
> In a plain OSGi framework such a scenario can be helped by installing bundles in stages, making life easier for the resolver. 
> Maybe subsystems can support this too. We could use the 'start-order' directive on the Subsystem-Content header to guide resolution and only resolve bundles on the current start-order as we progress through those.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)