org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
  1. 0

    Steps to reproduce: # Create new workspace # Create new web project # Add https://raw.github.com/aptana/studio3-sdk/master/tools/frameworks/dojo/1.6/api.xml to that project # Open the file in the XML editor. Folding markers may not appear. # If they do, collapse the root node (Javascript) and reopen. Usually, I can't reopen the node. Eventually, I get something like this in my log file: {code} !ENTRY org.eclipse.ui 4 0 2011-07-15 08:13:35.357 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space) at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) Caused by: java.lang.OutOfMemoryError: Java heap space at org.eclipse.swt.custom.StyleRange.clone(StyleRange.java:174) at org.eclipse.jface.text.TextViewer.modelStyleRange2WidgetStyleRange(TextViewer.java:5488) at org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4803) at org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4890) at org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:579) at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:568) at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:564) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:225) at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2824) at org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3444) at org.eclipse.jface.text.TextViewer.initializeWidgetContents(TextViewer.java:3491) at org.eclipse.jface.text.TextViewer.setVisibleDocument(TextViewer.java:3530) at org.eclipse.jface.text.source.projection.ProjectionViewer.setVisibleDocument(ProjectionViewer.java:718) at org.eclipse.jface.text.source.projection.ProjectionViewer.executeReplaceVisibleDocument(ProjectionViewer.java:779) at org.eclipse.jface.text.source.projection.ProjectionViewer.replaceVisibleDocument(ProjectionViewer.java:767) at org.eclipse.jface.text.source.projection.ProjectionViewer.reinitializeProjection(ProjectionViewer.java:1247) at org.eclipse.jface.text.source.projection.ProjectionViewer.catchupWithProjectionAnnotationModel(ProjectionViewer.java:961) at org.eclipse.jface.text.source.projection.ProjectionViewer.processCatchupRequest(ProjectionViewer.java:879) at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.processModelChanged(ProjectionViewer.java:124) at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.modelChanged(ProjectionViewer.java:116) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612) at org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:261) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:578) at org.eclipse.jface.text.source.projection.ProjectionAnnotationModel.modifyAnnotations(ProjectionAnnotationModel.java:184) at com.aptana.editor.common.internal.AbstractFoldingEditor.updateFoldingStructure(AbstractFoldingEditor.java:97) at com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy$1.run(CommonReconcilingStrategy.java:155) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
  2. 0

    Steps to reproduce: # Create new workspace # Create new web project # Add https://raw.github.com/aptana/studio3-sdk/master/tools/frameworks/dojo/1.6/api.xml to that project # Open the file in the XML editor. Folding markers may not appear. # If they do, collapse the root node (Javascript) and reopen. Usually, I can't reopen the node. Eventually, I get something like this in my log file: {code} !ENTRY org.eclipse.ui 4 0 2011-07-15 08:13:35.357 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space) at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) Caused by: java.lang.OutOfMemoryError: Java heap space at org.eclipse.swt.custom.StyleRange.clone(StyleRange.java:174) at org.eclipse.jface.text.TextViewer.modelStyleRange2WidgetStyleRange(TextViewer.java:5488) at org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4803) at org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4890) at org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:579) at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:568) at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:564) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:225) at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2824) at org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3444) at org.eclipse.jface.text.TextViewer.initializeWidgetContents(TextViewer.java:3491) at org.eclipse.jface.text.TextViewer.setVisibleDocument(TextViewer.java:3530) at org.eclipse.jface.text.source.projection.ProjectionViewer.setVisibleDocument(ProjectionViewer.java:718) at org.eclipse.jface.text.source.projection.ProjectionViewer.executeReplaceVisibleDocument(ProjectionViewer.java:779) at org.eclipse.jface.text.source.projection.ProjectionViewer.replaceVisibleDocument(ProjectionViewer.java:767) at org.eclipse.jface.text.source.projection.ProjectionViewer.reinitializeProjection(ProjectionViewer.java:1247) at org.eclipse.jface.text.source.projection.ProjectionViewer.catchupWithProjectionAnnotationModel(ProjectionViewer.java:961) at org.eclipse.jface.text.source.projection.ProjectionViewer.processCatchupRequest(ProjectionViewer.java:879) at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.processModelChanged(ProjectionViewer.java:124) at org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.modelChanged(ProjectionViewer.java:116) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612) at org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:261) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612) at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:578) at org.eclipse.jface.text.source.projection.ProjectionAnnotationModel.modifyAnnotations(ProjectionAnnotationModel.java:184) at com.aptana.editor.common.internal.AbstractFoldingEditor.updateFoldingStructure(AbstractFoldingEditor.java:97) at com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy$1.run(CommonReconcilingStrategy.java:155) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
  3. 0

    OutOfMemory Exception : java heap space

    Google Groups | 6 months ago | deepak singh
    java.lang.OutOfMemoryError: Java heap space* *java.lang.OutOfMemoryError: Java heap space*
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OutOfMemory Exception : java heap space

    Google Groups | 6 months ago | deepak singh
    java.lang.OutOfMemoryError: Java heap space* *java.lang.OutOfMemoryError: Java heap space*
  6. 0

    [exoplatform] [explatform] Memory requirements

    ow2.org | 1 year ago
    java.lang.OutOfMemoryError: Java heap space>java.lang.OutOfMemoryError: Java heap space

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at org.eclipse.swt.custom.StyleRange.clone()
    2. RWT
      StyleRange.clone
      1. org.eclipse.swt.custom.StyleRange.clone(StyleRange.java:174)
      1 frame
    3. JFace Text
      ProjectionAnnotationModel.modifyAnnotations
      1. org.eclipse.jface.text.TextViewer.modelStyleRange2WidgetStyleRange(TextViewer.java:5488)
      2. org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4803)
      3. org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4890)
      4. org.eclipse.jface.text.presentation.PresentationReconciler.applyTextRegionCollection(PresentationReconciler.java:579)
      5. org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:568)
      6. org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:564)
      7. org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:225)
      8. org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2824)
      9. org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3444)
      10. org.eclipse.jface.text.TextViewer.initializeWidgetContents(TextViewer.java:3491)
      11. org.eclipse.jface.text.TextViewer.setVisibleDocument(TextViewer.java:3530)
      12. org.eclipse.jface.text.source.projection.ProjectionViewer.setVisibleDocument(ProjectionViewer.java:718)
      13. org.eclipse.jface.text.source.projection.ProjectionViewer.executeReplaceVisibleDocument(ProjectionViewer.java:779)
      14. org.eclipse.jface.text.source.projection.ProjectionViewer.replaceVisibleDocument(ProjectionViewer.java:767)
      15. org.eclipse.jface.text.source.projection.ProjectionViewer.reinitializeProjection(ProjectionViewer.java:1247)
      16. org.eclipse.jface.text.source.projection.ProjectionViewer.catchupWithProjectionAnnotationModel(ProjectionViewer.java:961)
      17. org.eclipse.jface.text.source.projection.ProjectionViewer.processCatchupRequest(ProjectionViewer.java:879)
      18. org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.processModelChanged(ProjectionViewer.java:124)
      19. org.eclipse.jface.text.source.projection.ProjectionViewer$AnnotationModelListener.modelChanged(ProjectionViewer.java:116)
      20. org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612)
      21. org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:261)
      22. org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612)
      23. org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:578)
      24. org.eclipse.jface.text.source.projection.ProjectionAnnotationModel.modifyAnnotations(ProjectionAnnotationModel.java:184)
      24 frames
    4. com.aptana.editor
      CommonReconcilingStrategy$1.run
      1. com.aptana.editor.common.internal.AbstractFoldingEditor.updateFoldingStructure(AbstractFoldingEditor.java:97)
      2. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy$1.run(CommonReconcilingStrategy.java:155)
      2 frames
    5. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612)
      4 frames
    6. Eclipse UI
      Workbench.runEventLoop
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
      1 frame