Saturday, April 20, 2013

[android help] Error with Eclipse Juno

java - Error with Eclipse Juno - Stack Overflow








Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















When I try to start Eclipse Juno I have a problem. A notice advice me to I have an error in ../eclipse-path/configuration



!SESSION 2013-04-20 08:40:56.237 -----------------------------------------------
eclipse.buildId=M20130204-1200
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_ES
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2013-04-20 08:40:58.934
!MESSAGE Application error
!STACK 1
java.lang.OutOfMemoryError: Java heap space
at org.eclipse.core.internal.registry.TableReader.readArray(TableReader.java:360)
at org.eclipse.core.internal.registry.TableReader.basicLoadExtensionPoint(TableReader.java:351)
at org.eclipse.core.internal.registry.TableReader.loadExtensionPoint(TableReader.java:339)
at org.eclipse.core.internal.registry.TableReader.loadExtensionPointTree(TableReader.java:309)
at org.eclipse.core.internal.registry.RegistryObjectManager.load(RegistryObjectManager.java:422)
at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:271)
at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
at org.eclipse.core.internal.registry.BaseExtensionPointHandle.getExtensionPoint(BaseExtensionPointHandle.java:106)
at org.eclipse.core.internal.registry.BaseExtensionPointHandle.getExtension(BaseExtensionPointHandle.java:55)
at org.eclipse.core.internal.registry.ExtensionRegistry.getExtension(ExtensionRegistry.java:376)
at org.eclipse.core.internal.registry.ExtensionRegistry.getConfigurationElementsFor(ExtensionRegistry.java:311)
at org.eclipse.equinox.internal.app.EclipseAppContainer.getBranding(EclipseAppContainer.java:429)
at org.eclipse.core.internal.runtime.InternalPlatform.getProduct(InternalPlatform.java:477)
at org.eclipse.core.runtime.Platform.getProduct(Platform.java:1255)
at org.eclipse.ui.internal.WorkbenchPlugin.getProductInfo(WorkbenchPlugin.java:1070)
at org.eclipse.ui.internal.WorkbenchPlugin.getAppName(WorkbenchPlugin.java:1039)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:651)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)


I don't know what I have to do. Thanks





























Open the eclipse.ini file in Eclipse directory and modify its contents as below:



-launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
-Xms512m
-Xmx1024m


Restart Eclipse.























Try adding more memory to run Eclipse: go into the eclipse installation folder and open in edition the configuration file eclipse.ini. Increase the values -Xms and -Xmx.


Here is my config with 6G of RAM:



-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
-vmargs
-Djava.net.preferIPv4Stack=true
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=256m
-XX:+UseParallelGC
-Xverify:none



















lang-java







.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...