Apache Karaf starting up. Press Enter to open the shell now... 5% [===> ] 10% [=======> ] 15% [==========> ] 20% [==============> ] 25% [==================> ] 30% [=====================> ] 35% [=========================> ] 40% [============================> ] 45% [================================> ] 50% [====================================> ] 55% [=======================================> ] 60% [===========================================> ] 65% [==============================================> ] 70% [==================================================> ] 75% [======================================================> ] 80% [=========================================================> ] 85% [=============================================================> ] 90% [================================================================> ] 95% [====================================================================> ] 100% [========================================================================] Karaf started in 0s. Bundle stats: 20 active, 20 total java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid30209.hprof ... Heap dump file created [6801649567 bytes in 100.080 secs] java.lang.OutOfMemoryError: Java heap space at org.apache.felix.resolver.util.OpenHashMap.clone(OpenHashMap.java:820) at org.apache.felix.resolver.util.OpenHashMapList.deepClone(OpenHashMapList.java:35) at org.apache.felix.resolver.Candidates.copy(Candidates.java:1143) at org.apache.felix.resolver.Candidates.permutate(Candidates.java:1196) at org.apache.felix.resolver.ResolverImpl$ResolveSession.permutateIfNeeded(ResolverImpl.java:155) at org.apache.felix.resolver.Candidates.checkSubstitutes(Candidates.java:344) at org.apache.felix.resolver.ResolverImpl.checkConsistency(ResolverImpl.java:606) at org.apache.felix.resolver.ResolverImpl.findValidCandidates(ResolverImpl.java:574) at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:437) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:256) at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) at org.apache.karaf.features.internal.service.FeaturesServiceImpl$$Lambda/0x00000007c0500000.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.runWith(Thread.java:1596) at java.base/java.lang.Thread.run(Thread.java:1583)