Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-1216

Out of memory exception raised while typing in the editor

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.1.4
    • Component/s: Java editor
    • Sprint:
      BlueJ 4.1.4

      Description

      This exception is reporeted by the user Dave while he was typing in the code for a simple class. The project started to slow down and there was a delay between a keystroke and the screen response. Then the program became unresponsive.

      Exception in thread "JavaFX Application Thread" java.lang.OutOfMemoryError: Java heap space
              at javafx.scene.Node.getEventHandlerProperties(Node.java:6088)
              at javafx.scene.Node.onContextMenuRequestedProperty(Node.java:6992)
              at javafx.scene.Node.setOnContextMenuRequested(Node.java:6977)
              at bluej.editor.moe.BlueJSyntaxView.getParagraphicGraphic(BlueJSyntaxView.java:1767)
              at bluej.editor.moe.BlueJSyntaxView$$Lambda$1021/26613371.apply(Unknown Source)
              at org.fxmisc.richtext.ParagraphBox.lambda$new$1(ParagraphBox.java:109)
              at org.fxmisc.richtext.ParagraphBox$$Lambda$538/25081110.apply(Unknown Source)
              at org.reactfx.value.Val.lambda$combine$7(Val.java:585)
              at org.reactfx.value.Val$$Lambda$399/22561533.get(Unknown Source)
              at org.reactfx.value.Val$2.computeValue(Val.java:705)
              at org.reactfx.value.ValBase.getValue(ValBase.java:17)
              at org.reactfx.value.ChangeListenerWrapper.accept(Val.java:784)
              at org.reactfx.util.AbstractReducingStreamNotifications.lambda$head$0(NotificationAccumulator.java:248)
              at org.reactfx.util.AbstractReducingStreamNotifications$$Lambda$503/20087461.run(Unknown Source)
              at org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
              at org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
              at org.reactfx.value.ValBase.invalidate(ValBase.java:32)
              at org.reactfx.value.Val$2.lambda$connect$0(Val.java:691)
              at org.reactfx.value.Val$2$$Lambda$416/7425841.invalidated(Unknown Source)
              at org.reactfx.value.InvalidationListenerWrapper.accept(Val.java:765)
              at org.reactfx.util.AbstractReducingStreamNotifications.lambda$head$0(NotificationAccumulator.java:248)
              at org.reactfx.util.AbstractReducingStreamNotifications$$Lambda$503/20087461.run(Unknown Source)
              at org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:68)
              at org.reactfx.ObservableBase.notifyObservers(ObservableBase.java:57)
              at org.reactfx.value.ValBase.invalidate(ValBase.java:32)
              at org.reactfx.value.SimpleVar.setValue(SimpleVar.java:59)
              at org.fxmisc.richtext.ParagraphBox.setIndex(ParagraphBox.java:84)
              at org.fxmisc.richtext.GenericStyledArea$2.updateIndex(GenericStyledArea.java:1457)
              at org.fxmisc.flowless.CellWrapper.updateIndex(CellWrapper.java:129)
              at org.fxmisc.flowless.CellWrapper.updateIndex(CellWrapper.java:129)
              at org.fxmisc.flowless.CellListManager.presentCellsChanged(CellListManager.java:110)
              at org.fxmisc.flowless.CellListManager$$Lambda$382/27590564.onChange(Unknown Source)
      Exception in thread "JavaFX Application Thread" java.lang.OutOfMemoryError: Java heap space

      *************************************

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hitech Hamza Hamza
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: