-
Bug
-
Resolution: Done
-
Minor
-
4.2.0.Alpha1
-
None
1. I tried to run JBDS from developer's environment with vm args - -XX:MaxPermSize=512m -Xms1024m -Xmx2048m with all plugins from my workspace
and I got follow exception:
java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.createEntry(HashMap.java:869) at java.util.HashMap.addEntry(HashMap.java:856) at java.util.HashMap.put(HashMap.java:484) at org.apache.felix.resolver.Candidates.copy(Candidates.java:1002) at org.apache.felix.resolver.ResolverImpl.checkDynamicPackageSpaceConsistency(ResolverImpl.java:1288) at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1083) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:261) at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:652) at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:75) at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:451) at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:409) at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:877) at org.eclipse.osgi.storage.Storage.discardBundlesOnLoad(Storage.java:206) at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:87) at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:75) at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:287) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:222) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
2. If I try to run new run configuration with only plugins from target platform I got follow stack trace:
!SESSION 2013-10-28 10:29:47.350 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_24 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.platform.ide Command-line arguments: -product org.eclipse.platform.ide -data /home/daniel/workspaces/JBDS_GIT/../runtime-New_configuration(2) -dev file:/home/daniel/workspaces/JBDS_GIT/.metadata/.plugins/org.eclipse.pde.core/New_configuration (2)/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog !ENTRY org.eclipse.equinox.simpleconfigurator 4 0 2013-10-28 10:36:19.748 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Exception in org.eclipse.equinox.internal.simpleconfigurator.Activator.start() of bundle org.eclipse.equinox.simpleconfigurator. at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:782) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:717) at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:869) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:257) at org.eclipse.osgi.container.Module.doStart(Module.java:556) at org.eclipse.osgi.container.Module.start(Module.java:427) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1455) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1438) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1416) at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:216) at org.eclipse.osgi.container.Module.doStart(Module.java:556) at org.eclipse.osgi.container.Module.start(Module.java:427) at org.eclipse.osgi.container.SystemModule.start(SystemModule.java:151) at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:347) at org.eclipse.osgi.launch.Equinox.start(Equinox.java:115) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:310) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:222) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) at org.eclipse.equinox.launcher.Main.main(Main.java:1426) Caused by: java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.addEntry(HashMap.java:770) at java.util.HashMap.put(HashMap.java:402) at org.apache.felix.resolver.ResolverImpl.mergeUses(ResolverImpl.java:960) at org.apache.felix.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:787) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:252) at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:652) at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:75) at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:451) at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:409) at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:399) at org.eclipse.osgi.container.Module.start(Module.java:406) at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:347) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:427) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:109) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:182) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:196) at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:761) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:754) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:717) at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:869) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:257) at org.eclipse.osgi.container.Module.doStart(Module.java:556) at org.eclipse.osgi.container.Module.start(Module.java:427) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1455) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1438) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1416) at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:216) at org.eclipse.osgi.container.Module.doStart(Module.java:556) at org.eclipse.osgi.container.Module.start(Module.java:427) Root exception: java.lang.OutOfMemoryError: Java heap space at java.util.HashMap.addEntry(HashMap.java:770) at java.util.HashMap.put(HashMap.java:402) at org.apache.felix.resolver.ResolverImpl.mergeUses(ResolverImpl.java:960) at org.apache.felix.resolver.ResolverImpl.calculatePackageSpaces(ResolverImpl.java:787) at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:252) at org.eclipse.osgi.container.ModuleResolver$ResolveProcess.resolve(ModuleResolver.java:652) at org.eclipse.osgi.container.ModuleResolver.resolveDelta(ModuleResolver.java:75) at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:451) at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:409) at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:399) at org.eclipse.osgi.container.Module.start(Module.java:406) at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:347) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:427) at org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:109) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:182) at org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:196) at org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:761) at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:754) at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:717) at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:869) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:257) at org.eclipse.osgi.container.Module.doStart(Module.java:556) at org.eclipse.osgi.container.Module.start(Module.java:427) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1455) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1438) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1416) at org.eclipse.osgi.container.SystemModule.startWorker(SystemModule.java:216) at org.eclipse.osgi.container.Module.doStart(Module.java:556) at org.eclipse.osgi.container.Module.start(Module.java:427)
3. If I try same as 2. but with "Running Platform" as target platform - eclipse starts
- blocks
-
JBIDE-15639 Support running on Eclipse Luna platform
- Closed