facebook

Memory Leak in Eclipse 3.1 + MyEclipse 4.0M2

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #232403 Reply

    myoungstrom
    Member

    I start eclipse using -vmargs -Xmx768M. About once a day I get and Eclipse out of memory error. I never used to get out of memory errors using Eclipse 3.1 M7 + MyEclipse 3.8.4. Just thought I would bring it to your attention. Has 4.0 M2 been profiled yet as good as 3.8.4 was?

    Mike

    #232404 Reply

    myoungstrom
    Member

    Looking in the .log file it appears it is a PermGen out of memory error that I’m getting. So I’m going to change my startup options to:

    -vmargs -Xmx512M -XX:MaxPermSize=256m

    And see if that helps.

    Mike

    #232405 Reply

    myoungstrom
    Member

    One other note. I believe I generally tend to get it when working extensively in JSF using the JSF editor.

    Mike

    #232443 Reply

    Scott Anderson
    Participant

    Mike,

    Actually, 4.0M2 should behave much better than 3.8.4 on M7.

    #232449 Reply

    myoungstrom
    Member

    I think in general you are correct. By making a reference to 3.8.4 not having the problem I was trying to help narrow down the problem scope to possibly aid in finding a solution. So this PermGen memory leak is a problem I didn’t have in 3.8.4 and I believe it might be related to the JSF faces-config.xml editor. Can I do anything else to help hunt this memory leak down?

    Mike

    #232474 Reply

    lylo
    Member

    @myoungstrom wrote:

    Looking in the .log file it appears it is a PermGen out of memory error that I’m getting. So I’m going to change my startup options to:

    -vmargs -Xmx512M -XX:MaxPermSize=256m

    And see if that helps.

    Mike

    i’m using 3.1 and m2.

    i’m finding the same issues. i’m running with -Xmx384 and i’m getting an OutOfMemory error several times daily. unfortunately i can’t pin it down more than this. i do a lot of my work running tomcat 5.59 through myeclipse and the jsp editor.

    no such problems with 3.1RC2 and 3.8.4 for M7 (which worked fine with 3.1RC2)

    i also have issues with the database explorer hanging my entire windows 2000 machine, but that’s for another post.

    #232478 Reply

    Riyad Kalla
    Member

    I think your findings already have helped. Admitedly during the M phases we haven’t done any profiling, I will file an investigatory issue for us to profile specifically the JSF editor to see if we are leaking memory somewhere like crazy.

    Can yout hink of any other features you use extensively during your day that cause this behavior?

    #232494 Reply

    Scott Anderson
    Participant

    Mike,

    We’ve entered a PR to investigate the memory usage of the JSF editor. Thanks for bringing it to our attention. Please let us know if you notice anything else along these lines.

    #232503 Reply

    myoungstrom
    Member

    Can yout hink of any other features you use extensively during your day that cause this behavior?

    I have mainly been using .jsp, .xml, faces-config.xml, and .java editors. Based on lylo’s comments I’d say focus more on .jsp and faces-config.xml.

    The -XX:MaxPermSize=256m parameter appears to of helped to alleviate the problem in the short term.

    Mike

    #232506 Reply

    Riyad Kalla
    Member

    Strange, thank you for the input.

    #232557 Reply

    lylo
    Member

    @support-rkalla wrote:

    Can yout hink of any other features you use extensively during your day that cause this behavior?

    here’s a stack trace from the .log file:

    !ENTRY org.eclipse.ltk.ui.refactoring 4 10000 2005-07-08 10:42:28.277
    !MESSAGE Internal Error
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:327)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:261)
    at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:861)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:895)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:871)
    at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.checkInitialConditions(RefactoringWizardOpenOperation.java:150)
    at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.access$0(RefactoringWizardOpenOperation.java:146)
    at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(RefactoringWizardOpenOperation.java:116)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(RefactoringWizardOpenOperation.java:138)
    at org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringStarter.activate(RefactoringStarter.java:40)
    at org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.activate(UserInterfaceStarter.java:56)
    at org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterfaceStarter.activate(RenameUserInterfaceStarter.java:113)
    at org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(RenameSupport.java:114)
    at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startRenameRefactoring(RefactoringExecutionStarter.java:327)
    at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:171)
    at org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElementAction.run(RenameJavaElementAction.java:131)
    at org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:117)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:226)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
    at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:182)
    at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:108)
    at org.eclipse.core.commands.Command.execute(Command.java:311)
    at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Control.traverse(Control.java:2778)
    at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2619)
    at org.eclipse.swt.widgets.Composite.translateMnemonic(Composite.java:827)
    at org.eclipse.swt.widgets.Control.translateMnemonic(Control.java:2637)
    at org.eclipse.swt.widgets.Display.translateMnemonic(Display.java:3514)
    at org.eclipse.swt.widgets.Display.filterMessage(Display.java:931)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2709)
    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:585)
    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)
    Caused by: java.lang.OutOfMemoryError: PermGen space
    Root exception:
    java.lang.OutOfMemoryError: PermGen space

    !ENTRY org.eclipse.ui 4 0 2005-07-08 10:42:35.427
    !MESSAGE Unable to create editor ID org.xmen.ui.text.XMLTextEditor: An error has occurred when initializing the input for the the editor’s source page.
    !STACK 0
    An error has occurred when initializing the input for the the editor’s source page.
    at com.ibm.xmleditor.internal.XMLMultiPageEditorPart.createPages(XMLMultiPageEditorPart.java:223)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
    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.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2325)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
    at org.eclipse.ui.internal.ide.actions.OpenWorkspaceFileAction.run(OpenWorkspaceFileAction.java:104)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:223)
    at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:117)
    at org.eclipse.core.commands.Command.execute(Command.java:311)
    at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedCommand.java:396)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:459)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:781)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:828)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:550)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:493)
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:117)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
    at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
    at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
    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:585)
    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)

    !ENTRY org.eclipse.ui 4 4 2005-07-08 10:42:36.669
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2005-07-08 10:42:37.871
    !MESSAGE PermGen space
    !STACK 0
    java.lang.OutOfMemoryError: PermGen space
    !SESSION Fri Jul 08 10:42:47 BST 2005 ——————————————
    !ENTRY org.eclipse.core.launcher 4 0 2005-07-08 10:42:47.365
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.OutOfMemoryError: PermGen space

    #233339 Reply

    I’m having this problem, and I never even opened the JSF editor. I use the XML editor extensively, and some refactorings (Rename Class, Move Class, Pull Up, Extract Method, et al).
    I’m using Eclipse 3.1 + ME 4.0M2.

    #234309 Reply

    I had to uninstall MyEclipse 4.0.2 from my Linux box.

    Something in the plugin is causing out of memory errors.

    I have a Dell Inspiron 8600c with 1GB RAM and 80GB Hdd with most of it giving over to Linux.

    I tried various combinations of the standard with my shell script

    #!/bin/bash
    # This is a custom Eclipse Launcher Bash Script
    # I created this because Eclipse SDK 3.0 was running out memory
    # alot. Happily this in 3.1 most of theses out of memory stuff
    # should be gone away.
    #
    # Peter Pilgrim Wed Jul 06 09:58:18 PDT 2005
    #
    ECLIPSE_HOME=/opt/eclipse

    ECLIPSE_PROGRAM=${ECLIPSE_HOME}/eclipse

    LD_LIBRARY_PATH=${JAVA_HOME}/jre/lib/i386:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH

    echo PATH=${PATH}
    echo LD_LIBRARY_PATH=${LD_LIBRARY_PATH}

    ## exec ${ECLIPSE_PROGRAM} -vmargs -Xms64m -Xmx768m -Xss64m -XX:MaxPermSize=384m &
    exec ${ECLIPSE_PROGRAM} -vmargs -Xms64m -Xmx768m &
    ## exec ${ECLIPSE_PROGRAM} -vmargs -Xms256m -Xmx768m -Xss64m &

    # fini

    Unfortunately I can only one debug cycle out of the IDE. As a professional developer with a subscription
    this is really unacceptable. Let me now when the memory issues are fixed and I will get the next stable version.

    Why did Genuitec not appear as a vendor at JavaONE 2005?

    Peter P

    #234314 Reply

    !ENTRY org.eclipse.ui 4 0 2005-08-06 00:13:41.846
    !MESSAGE unable to create new native thread
    !STACK 0
    java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start(Native Method)
    at org.eclipse.debug.internal.core.InputStreamMonitor.startMonitoring(InputStreamMonitor.java:84)
    at org.eclipse.debug.internal.core.StreamsProxy.<init>(StreamsProxy.java:56)
    at org.eclipse.debug.core.model.RuntimeProcess.createStreamsProxy(RuntimeProcess.java:264)
    at org.eclipse.debug.core.model.RuntimeProcess.<init>(RuntimeProcess.java:121)
    at org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:653)
    at org.eclipse.jdt.launching.AbstractVMRunner.newProcess(AbstractVMRunner.java:110)
    at org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:210)
    at org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration.launch(JUnitBaseLaunchConfiguration.java:85)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:733)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:931)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    !ENTRY org.eclipse.core.runtime 4 2 2005-08-06 00:13:41.856
    !MESSAGE An internal error occurred during: “Launching”.
    !STACK 0
    java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start(Native Method)
    at org.eclipse.debug.internal.core.InputStreamMonitor.startMonitoring(InputStreamMonitor.java:84)
    at org.eclipse.debug.internal.core.StreamsProxy.<init>(StreamsProxy.java:56)
    at org.eclipse.debug.core.model.RuntimeProcess.createStreamsProxy(RuntimeProcess.java:264)
    at org.eclipse.debug.core.model.RuntimeProcess.<init>(RuntimeProcess.java:121)
    at org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:653)
    at org.eclipse.jdt.launching.AbstractVMRunner.newProcess(AbstractVMRunner.java:110)
    at org.eclipse.jdt.internal.launching.StandardVMDebugger.run(StandardVMDebugger.java:210)
    at org.eclipse.jdt.internal.junit.launcher.JUnitBaseLaunchConfiguration.launch(JUnitBaseLaunchConfiguration.java:85)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:733)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:931)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    !ENTRY org.eclipse.debug.ui 4 5012 2005-08-06 00:13:43.855
    !MESSAGE Exceptions occurred attempting to terminate.
    !SUBENTRY 1 org.eclipse.debug.core 4 5010 2005-08-06 00:13:43.855
    !MESSAGE Terminate failed

    #234315 Reply

    above stacktrace happened whilst trying to entering the Debug mode. Seem that the JVM cannot start a native thread.
    Removing MyEclipse 4.0.2 M however solves them problem.
    I removed the plug-in. I should get out of memory errors with only 10 Java source files in the editor!

    The other significations plug-ins on my machine are Jalopy, Omondo UML, and WTP 0.7.
    The shell script I quoted mentioned Eclipse 3.0 but I have definitely upgraded and using Eclipse IDE 3.1

    Incidentally I also have Eclipse 3.1 and MyEclipse 4.0.2 running at my clients work space, but On WINDOWS XP,
    and I have 44 or more Java source files opened in the editor. The out of memory errors occurs
    regularly on LINUX Eclipse IDE edition.

    My JVM is the Sun Linux

    > java -version
    java version “1.4.2_04”
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
    Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

    Here is an older stacktrace this time HTH

    My JVM is the Sun Linux

    !ENTRY org.eclipse.ui 4 0 2005-08-06 00:48:28.85
    !MESSAGE Failed to execute runnable (java.lang.OutOfMemoryError: unable to create new native thread)
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: unable to create new native thread)
    at org.eclipse.swt.SWT.error(SWT.java:2942)
    at org.eclipse.swt.SWT.error(SWT.java:2865)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2844)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2575)
    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)
    Caused by: java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start(Native Method)
    at org.eclipse.jface.text.source.projection.ProjectionSummary$Summarizer.<init>(ProjectionSummary.java:50)
    at org.eclipse.jface.text.source.projection.ProjectionSummary.updateSummaries(ProjectionSummary.java:142)
    at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.processModelChanged(ProjectionViewer.java:109)
    at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.modelChanged(ProjectionViewer.java:102)
    at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:452)
    at org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:106)
    at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:452)
    at org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:106)
    at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:452)
    at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:418)
    at org.eclipse.jface.text.source.AnnotationModel.replaceAnnotations(AnnotationModel.java:261)
    at org.eclipse.jface.text.source.AnnotationModel.replaceAnnotations(AnnotationModel.java:226)
    at org.eclipse.jdt.internal.ui.text.folding.DefaultJavaFoldingStructureProvider.initialize(DefaultJavaFoldingStructureProvider.java:488)
    at org.eclipse.jdt.internal.ui.text.folding.DefaultJavaFoldingStructureProvider.projectionEnabled(DefaultJavaFoldingStructureProvider.java:424)
    at org.eclipse.jface.text.source.projection.ProjectionViewer.fireProjectionEnabled(ProjectionViewer.java:480)
    at org.eclipse.jface.text.source.projection.ProjectionViewer.enableProjection(ProjectionViewer.java:528)
    at org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.setVisibleDocument(JavaSourceViewer.java:602)
    at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2483)
    at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:491)
    at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:369)
    at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:435)
    at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:2882)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2649)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:314)
    at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPartControl(JavaEditor.java:2646)
    at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createPartControl(CompilationUnitEditor.java:1666)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:585)
    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.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.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2274)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$1.run(SourceLookupFacility.java:353)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:362)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:278)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.display(SourceLookupFacility.java:209)
    at org.eclipse.debug.ui.DebugUITools.displaySource(DebugUITools.java:673)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView$SourceDisplayJob.runInUIThread(LaunchView.java:209)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    … 18 more

    Peter P

Viewing 15 posts - 1 through 15 (of 17 total)
Reply To: Memory Leak in Eclipse 3.1 + MyEclipse 4.0M2

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