Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1459

Installing subsystem with large number of constituents takes forever or gives out of memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • subsystem-2.0.6
    • subsystem-2.0.10
    • Subsystem
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bosschaert David Bosschaert
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: