Two quick points: 1. The Felix ResolverImpl is responsible for resolving bundle constaints (imports and requires). It has absolutely nothing to do with SCR, so it doesn't matter how many components you have.
2. Are you building an Eclipse RCP application? If so, check whether the org.eclipse.equinox.p2.reconciler.dropins bundle is present. This bundle is part of Eclipse p2 and it supports the "drop-ins" folder functionality... it performs a second resolution of the complete set of installed bundles plus the dropins folder, and it is VERY slow. Most apps don't need this functionality. By removing it I cut the start time of one application from nearly 2 minutes (not exaggerating) down to 15 seconds (still not great, more work to do). Regards, Neil On Mon, Oct 22, 2018 at 6:43 PM Alain Picard via osgi-dev < osgi-dev@mail.osgi.org> wrote: > We are experiencing some long startup time in our reafactored application > that is now heavily using SCR. > > We have 125 projects with over 1200 Service Components and it takes about > 2 minutes to get any output in the console. Some quick analysis shows that > its running the Felix ResolverImpl with something like 5-6 thread (that is > with Equinox). > > I looked in that class but there doesn't seem to be any tracing code, only > what appears to be some debugging code. > > Is this expected? If not what have others used to resolve this issue? > > Thanks > Alain > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev