facebook

[Closed] Out of memory errors

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #244793 Reply

    kidon
    Member

    I keep getting out of memory errors. I’ve already edited the eclipse.ini file to:

    -vmargs
    -Xms256M
    -Xmx512M
    -XX:PermSize=64M
    -XX:MaxPermSize=256M

    But this doesnt seem to help. I am running quite a heavy project though, that uses Hibernate capabilities and Struts capabilities together.

    Any suggestions ?

    #244827

    Riyad Kalla
    Member

    If the project is sizable (thousands of files) try and bump your perm size up to 256/512 and see if that helps.

    Also check your log file, it will say if it was a normal OutOfMemoryException, or if it was due to permSpace (it will say “permSpace” somewhere around the exception if it is. If you don’t find permSpace around the exception, instead of my suggestion above, bump up the heap space if you can.

    If the problem ISN’T huge and you are still running out of memory left and right, then that sounds like a bug. Please give us your MyEclipse > About > Configuration Summary dump.

    #244858

    kidon
    Member

    Well the project isnt thousands of files. far from it, but there are a lot of .jar files involved with the struts and hibernate capabilities. But that probably will be peanuts compared with what it should be able to handle.

    Here is the bottom part of the .log file:

    
    !SESSION 2006-01-20 10:02:19.820 -----------------------------------------------
    eclipse.buildId=Gentoo Linux eclipse-sdk-3.1-r1
    java.version=1.4.2-02
    java.vendor=Blackdown Java-Linux Team
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments:  -os linux -ws gtk -arch x86_64
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.44
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.draw2d_3.1.0/   Bundle "org.eclipse.draw2d" version "3.1.0" has already been installed from: update@plugins/org.eclipse.draw2d_3.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.46
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.common.ui_2.1.0/   Bundle "org.eclipse.emf.common.ui" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.common.ui_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.48
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.common_2.1.0/   Bundle "org.eclipse.emf.common" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.common_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.50
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.ecore.xmi_2.1.0/   Bundle "org.eclipse.emf.ecore.xmi" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.ecore.xmi_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.52
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.ecore_2.1.0/   Bundle "org.eclipse.emf.ecore" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.ecore_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.59
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.edit.ui_2.1.0/   Bundle "org.eclipse.emf.edit.ui" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.edit.ui_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.60
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.edit_2.1.0/   Bundle "org.eclipse.emf.edit" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.edit_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.62
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.gef_3.1.0/   Bundle "org.eclipse.gef" version "3.1.0" has already been installed from: update@plugins/org.eclipse.gef_3.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.64
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.jem.util_1.1.0/   Bundle "org.eclipse.jem.util" version "1.1.0" has already been installed from: update@plugins/org.eclipse.jem.util_1.1.0/
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:02:36.111
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.xsd_2.1.0/   Bundle "org.eclipse.xsd" version "2.1.0" has already been installed from: update@plugins/org.eclipse.xsd_2.1.0.jar
    
    !ENTRY org.eclipse.ui 4 0 2006-01-20 10:03:27.17
    !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)
    !STACK 1
    org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:543)
        at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
        at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:477)
        at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:402)
        at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:372)
        at org.eclipse.ui.internal.WorkbenchPage.findEditor(WorkbenchPage.java:1772)
        at com.genuitec.eclipse.core.util.EditorUtil.getEditorForInput(Unknown Source)
        at com.genuitec.eclipse.core.util.EditorUtil.checkConflictingEditor(Unknown Source)
        at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.init(HTMLMultiPageEditorPart.java:873)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:773)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:572)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
        at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:785)
        at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:771)
        at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:119)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:126)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
        at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
        at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1045)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1030)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:900)
        at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3138)
        at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1922)
        at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    !SUBENTRY 1 org.eclipse.ui 4 0 2006-01-20 10:03:27.18
    !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug)
    
    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2006-01-20 10:03:34.599
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    
    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2006-01-20 10:04:24.771
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    
    !ENTRY com.genuitec.eclipse.webdesigner 1 0 2006-01-20 10:06:59.579
    !MESSAGE No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
    
    !ENTRY org.eclipse.ui 4 4 2006-01-20 10:43:18.358
    !MESSAGE Unhandled event loop exception
    
    !ENTRY org.eclipse.ui 4 0 2006-01-20 10:43:18.360
    !MESSAGE java.lang.OutOfMemoryError
    !STACK 0
    java.lang.OutOfMemoryError
    !SESSION Fri Jan 20 10:43:25 GMT 2006 ------------------------------------------
    !ENTRY org.eclipse.core.launcher 4 0 2006-01-20 10:43:25.488
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.OutOfMemoryError
    
    !SESSION 2006-01-20 10:46:29.536 -----------------------------------------------
    eclipse.buildId=Gentoo Linux eclipse-sdk-3.1-r1
    java.version=1.4.2-02
    java.vendor=Blackdown Java-Linux Team
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments:  -os linux -ws gtk -arch x86_64
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.683
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.draw2d_3.1.0/   Bundle "org.eclipse.draw2d" version "3.1.0" has already been installed from: update@plugins/org.eclipse.draw2d_3.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.685
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.common.ui_2.1.0/   Bundle "org.eclipse.emf.common.ui" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.common.ui_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.687
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.common_2.1.0/   Bundle "org.eclipse.emf.common" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.common_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.689
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.ecore.xmi_2.1.0/   Bundle "org.eclipse.emf.ecore.xmi" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.ecore.xmi_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.691
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.ecore_2.1.0/   Bundle "org.eclipse.emf.ecore" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.ecore_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.693
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.edit.ui_2.1.0/   Bundle "org.eclipse.emf.edit.ui" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.edit.ui_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.695
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.edit_2.1.0/   Bundle "org.eclipse.emf.edit" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.edit_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.703
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.gef_3.1.0/   Bundle "org.eclipse.gef" version "3.1.0" has already been installed from: update@plugins/org.eclipse.gef_3.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.705
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.jem.util_1.1.0/   Bundle "org.eclipse.jem.util" version "1.1.0" has already been installed from: update@plugins/org.eclipse.jem.util_1.1.0/
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:46:37.720
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.xsd_2.1.0/   Bundle "org.eclipse.xsd" version "2.1.0" has already been installed from: update@plugins/org.eclipse.xsd_2.1.0.jar
    
    !ENTRY org.eclipse.core.resources 2 10035 2006-01-20 10:46:42.493
    !MESSAGE A workspace crash was detected. The previous session did not exit normally.
    
    !ENTRY org.eclipse.ui.workbench 4 2 2006-01-20 10:46:42.846
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 1
    org.eclipse.ui.WorkbenchException[0]: org.xml.sax.SAXParseException: Document root element is missing.
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:93)
        at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1323)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    !SUBENTRY 1 org.eclipse.ui 4 0 2006-01-20 10:46:42.848
    !MESSAGE Document root element is missing.
    !STACK 0
    org.xml.sax.SAXParseException: Document root element is missing.
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:93)
        at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1323)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    !SUBENTRY 1 org.eclipse.ui 4 0 2006-01-20 10:46:42.848
    !MESSAGE Document root element is missing.
    !STACK 0
    org.xml.sax.SAXParseException: Document root element is missing.
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3364)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:668)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:93)
        at org.eclipse.ui.XMLMemento.createReadRoot(XMLMemento.java:64)
        at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1323)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
        at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    !SESSION 2006-01-20 10:47:12.560 -----------------------------------------------
    eclipse.buildId=Gentoo Linux eclipse-sdk-3.1-r1
    java.version=1.4.2-02
    java.vendor=Blackdown Java-Linux Team
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments:  -os linux -ws gtk -arch x86_64
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.278
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.draw2d_3.1.0/   Bundle "org.eclipse.draw2d" version "3.1.0" has already been installed from: update@plugins/org.eclipse.draw2d_3.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.280
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.common.ui_2.1.0/   Bundle "org.eclipse.emf.common.ui" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.common.ui_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.282
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.common_2.1.0/   Bundle "org.eclipse.emf.common" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.common_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.284
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.ecore.xmi_2.1.0/   Bundle "org.eclipse.emf.ecore.xmi" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.ecore.xmi_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.286
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.ecore_2.1.0/   Bundle "org.eclipse.emf.ecore" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.ecore_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.288
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.edit.ui_2.1.0/   Bundle "org.eclipse.emf.edit.ui" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.edit.ui_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.290
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.emf.edit_2.1.0/   Bundle "org.eclipse.emf.edit" version "2.1.0" has already been installed from: update@plugins/org.eclipse.emf.edit_2.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.298
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.gef_3.1.0/   Bundle "org.eclipse.gef" version "3.1.0" has already been installed from: update@plugins/org.eclipse.gef_3.1.0.jar
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.300
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.jem.util_1.1.0/   Bundle "org.eclipse.jem.util" version "1.1.0" has already been installed from: update@plugins/org.eclipse.jem.util_1.1.0/
    
    !ENTRY org.eclipse.update.configurator 2006-01-20 10:47:21.315
    !MESSAGE Could not install bundle ../MyEclipse/eclipse/plugins/org.eclipse.xsd_2.1.0/   Bundle "org.eclipse.xsd" version "2.1.0" has already been installed from: update@plugins/org.eclipse.xsd_2.1.0.jar
    
    !ENTRY org.eclipse.core.resources 2 10035 2006-01-20 10:47:26.145
    !MESSAGE A workspace crash was detected. The previous session did not exit normally.
    
    

    And here is the config file:

    
    *** Date: Fri Jan 20 10:48:05 GMT 2006
    
    *** System properties:
    OS=Linux
    OS version=2.6.12-gentoo-r10
    Java version=1.4.2-02
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.1.0
    Build id: Gentoo Linux eclipse-sdk-3.1-r1
    
    Eclipse Platform
    
    Version: 3.1.0
    Build id: Gentoo Linux eclipse-sdk-3.1-r1
    
    Eclipse Java Development Tools
    
    Version: 3.1.0
    Build id: Gentoo Linux eclipse-sdk-3.1-r1
    
    Eclipse Project SDK
    
    Version: 3.1.0
    Build id: Gentoo Linux eclipse-sdk-3.1-r1
    
    Eclipse RCP
    
    Version: 3.1.0
    Build id: Gentoo Linux eclipse-sdk-3.1-r1
    
    Eclipse Plug-in Development Environment
    
    Version: 3.1.0
    Build id: Gentoo Linux eclipse-sdk-3.1-r1
    
    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -launcher
    /usr/lib64/eclipse-3.1/eclipse-gtk
    -name
    Eclipse-gtk
    -showsplash
    600
    -exitdata
    240004
    -vm
    /opt/blackdown-jdk-1.4.2.02/bin/java
    

    Thx !

    #244866

    Riyad Kalla
    Member

    There is a whole slew of problems in there as far as what is supported.

    Are you running a 64-bit custom build of Eclipse?

    * Stop using blackdown, it’s not a good port and Sun’s JDK is a lot higher quality/speed. I would suggest 1.5.0_06 release
    * Stop using the emerged versions of Eclipse, download them straight from Eclipse.org
    * You have EMF/GEF installed separately in your Eclipse/plugins directory, this is overriding the versions that MyEclipse ships and *requires*, this is going to cause you nothing but problems
    * If you have to stay with 1.4 atleast upgrade to Sun’s 1.4.2_10 release.

    #244938

    kidon
    Member

    I don’t know if im using an 64 bit edition of eclipse. I just emerged it. Should I use a 64 bit edition ?

    Going to try to folow ur advise now. I’ll keep u informed

    #244945

    Riyad Kalla
    Member

    I don’t know if im using an 64 bit edition of eclipse. I just emerged it. Should I use a 64 bit edition ?

    No, currently the only 64-bit version of Eclipse I’m aware of is a native build compiled by the Fedora team that does not work well with existing plugins or MyEclipse.

    The fundamental problem here is that “in theory” all of your setup should work… “it’s all Java, it’s all Eclipse”, but in practice, it’s the little tiny differences between the supported platforms and non-supported platforms that make these differences problomatic. So to save you a ton of time and pain:

    1) Sun JDK, 1.5.0_06 (You can emerge this but it’s a masked emerge)
    2) Eclipse SDK 3.1.1 from eclipse.org
    3) MYEclipse 4.0.3 (or 4.1 Monday) from our site
    4) When launching your install of Eclipse, edit the ini file and add a -vm argument pointing directly at the java executable from the Sun JDK, that way you don’t have to futz around with the System Path trying to get Eclipse to pick it up.

    #244949

    kidon
    Member

    OK, i followed UR advice. Seems to work OK now, will be testing it the next couple of days. I had to use the unstable and hard masked sun-jdk 1.5.x (unstable for amd64 on gentoo atleast), so I hope it will turn out OK.

    Thx 4 ur help

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed] Out of memory errors

You must be logged in to post in the forum log in