Bundle id is a long, Service id is a long. So maximum is Long.MAX_VALUE. I am guessing you will run out of memory long before you reach the id limit. Each bundle has a class loader. If the JVM has some limit on number of ClassLoaders, then that will be a factor also. --
BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Martin Petzold <mpetz...@gmx.net> To: osgi-dev@mail.osgi.org Date: 2010/12/05 17:29 Subject: [osgi-dev] Maximum number of bundles and services in one OSGi framework Sent by: osgi-dev-boun...@mail.osgi.org Hi folks, what is the maximum number of bundles and services I can install/register in one OSGi framework? What is the maximum amount of remote services in a service environment, probably = max. of in one OSGi framework? Is the limitation on some type of identifier or is it the number of threads the JVM can provide or something different? Of course memory in the end... How many bundles and services have you already had running in one OSGi framework? Thanks, Martin _______________________________________________ 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