Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5483

Out of Memory Error reported to IDE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Information Provided
    • Affects Version/s: 12.0
    • Fix Version/s: None
    • Component/s: ide - UI
    • Labels:
      None

      Description

      I was unaware that this happened. It showed up when I started today. Here is the UI Log: <record>
      <date>2021-03-22T09:52:13</date>
      <millis>1616421133420</millis>
      <sequence>447</sequence>
      <logger>global</logger>
      <level>1000</level>
      <thread>22</thread>
      <exception>
      <message>java.lang.OutOfMemoryError: Can't create offscreen surface</message>
      <frame>
      <class>com.sun.java.swing.plaf.gtk.GTKEngine</class>
      <method>nativeStartPainting</method>
      <file>jrt:/java.desktop/com/sun/java/swing/plaf/gtk/GTKEngine.class</file>
      </frame>
      <frame>
      <class>com.sun.java.swing.plaf.gtk.GTKEngine</class>
      <method>startPainting</method>
      <line>576</line>
      <file>jrt:/java.desktop/com/sun/java/swing/plaf/gtk/GTKEngine.class</file>
      </frame>
      <frame>
      <class>com.sun.java.swing.plaf.gtk.GTKPainter</class>
      <method>paintViewportBorder</method>
      <line>672</line>
      <file>jrt:/java.desktop/com/sun/java/swing/plaf/gtk/GTKPainter.class</file>
      </frame>
      <frame>
      <class>javax.swing.plaf.synth.SynthScrollPaneUI$ViewportBorder</class>
      <method>paintBorder</method>
      <line>251</line>
      <file>jrt:/java.desktop/javax/swing/plaf/synth/SynthScrollPaneUI$ViewportBorder.class</file>
      </frame>
      <frame>
      <class>javax.swing.border.CompoundBorder</class>
      <method>paintBorder</method>
      <line>123</line>
      <file>jrt:/java.desktop/javax/swing/border/CompoundBorder.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paintBorder</method>
      <line>967</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paint</method>
      <line>1075</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paintChildren</method>
      <line>907</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paint</method>
      <line>1083</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.JLayeredPane</class>
      <method>paint</method>
      <line>590</line>
      <file>jrt:/java.desktop/javax/swing/JLayeredPane.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paintChildren</method>
      <line>907</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paint</method>
      <line>1083</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paintToOffscreen</method>
      <line>5255</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager$PaintManager</class>
      <method>paintDoubleBufferedImpl</method>
      <line>1643</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager$PaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager$PaintManager</class>
      <method>paintDoubleBuffered</method>
      <line>1618</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager$PaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager$PaintManager</class>
      <method>paint</method>
      <line>1556</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager$PaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.BufferStrategyPaintManager</class>
      <method>paint</method>
      <line>262</line>
      <file>jrt:/java.desktop/javax/swing/BufferStrategyPaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager</class>
      <method>paint</method>
      <line>1323</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>_paintImmediately</method>
      <line>5203</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.JComponent</class>
      <method>paintImmediately</method>
      <line>5013</line>
      <file>jrt:/java.desktop/javax/swing/JComponent.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager$4</class>
      <method>run</method>
      <line>865</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager$4.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager$4</class>
      <method>run</method>
      <line>848</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager$4.class</file>
      </frame>
      <frame>
      <class>java.security.AccessController</class>
      <method>doPrivileged</method>
      <file>jrt:/java.base/java/security/AccessController.class</file>
      </frame>
      <frame>
      <class>java.security.ProtectionDomain$JavaSecurityAccessImpl</class>
      <method>doIntersectionPrivilege</method>
      <line>85</line>
      <file>jrt:/java.base/java/security/ProtectionDomain$JavaSecurityAccessImpl.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager</class>
      <method>paintDirtyRegions</method>
      <line>848</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager</class>
      <method>paintDirtyRegions</method>
      <line>823</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager</class>
      <method>prePaintDirtyRegions</method>
      <line>772</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager.class</file>
      </frame>
      <frame>
      <class>javax.swing.RepaintManager$ProcessingRunnable</class>
      <method>run</method>
      <line>1890</line>
      <file>jrt:/java.desktop/javax/swing/RepaintManager$ProcessingRunnable.class</file>
      </frame>
      <frame>
      <class>java.awt.event.InvocationEvent</class>
      <method>dispatch</method>
      <line>313</line>
      <file>jrt:/java.desktop/java/awt/event/InvocationEvent.class</file>
      </frame>
      <frame>
      <class>java.awt.EventQueue</class>
      <method>dispatchEventImpl</method>
      <line>770</line>
      <file>jrt:/java.desktop/java/awt/EventQueue.class</file>
      </frame>
      <frame>
      <class>java.awt.EventQueue$4</class>
      <method>run</method>
      <line>721</line>
      <file>jrt:/java.desktop/java/awt/EventQueue$4.class</file>
      </frame>
      <frame>
      <class>java.awt.EventQueue$4</class>
      <method>run</method>
      <line>715</line>
      <file>jrt:/java.desktop/java/awt/EventQueue$4.class</file>
      </frame>
      <frame>
      <class>java.security.AccessController</class>
      <method>doPrivileged</method>
      <file>jrt:/java.base/java/security/AccessController.class</file>
      </frame>
      <frame>
      <class>java.security.ProtectionDomain$JavaSecurityAccessImpl</class>
      <method>doIntersectionPrivilege</method>
      <line>85</line>
      <file>jrt:/java.base/java/security/ProtectionDomain$JavaSecurityAccessImpl.class</file>
      </frame>
      <frame>
      <class>java.awt.EventQueue</class>
      <method>dispatchEvent</method>
      <line>740</line>
      <file>jrt:/java.desktop/java/awt/EventQueue.class</file>
      </frame>
      <frame>
      <class>org.netbeans.core.TimableEventQueue</class>
      <method>dispatchEvent</method>
      <line>136</line>
      <file>${netbeans.home}modules/org-netbeans-core.jar</file>
      </frame>
      <frame>
      <class>java.awt.EventDispatchThread</class>
      <method>pumpOneEventForFilters</method>
      <line>203</line>
      <file>jrt:/java.desktop/java/awt/EventDispatchThread.class</file>
      </frame>
      <frame>
      <class>java.awt.EventDispatchThread</class>
      <method>pumpEventsForFilter</method>
      <line>124</line>
      <file>jrt:/java.desktop/java/awt/EventDispatchThread.class</file>
      </frame>
      <frame>
      <class>java.awt.EventDispatchThread</class>
      <method>pumpEventsForHierarchy</method>
      <line>113</line>
      <file>jrt:/java.desktop/java/awt/EventDispatchThread.class</file>
      </frame>
      <frame>
      <class>java.awt.EventDispatchThread</class>
      <method>pumpEvents</method>
      <line>109</line>
      <file>jrt:/java.desktop/java/awt/EventDispatchThread.class</file>
      </frame>
      <frame>
      <class>java.awt.EventDispatchThread</class>
      <method>pumpEvents</method>
      <line>101</line>
      <file>jrt:/java.desktop/java/awt/EventDispatchThread.class</file>
      </frame>
      <frame>
      <class>java.awt.EventDispatchThread</class>
      <method>run</method>
      <line>90</line>
      <file>jrt:/java.desktop/java/awt/EventDispatchThread.class</file>
      </frame>
      </exception>
      </record>
      <record>
      <date>2021-03-23T12:13:29</date>
      <millis>1616516009774</millis>
      <sequence>644</sequence>
      <level>700</level>
      <thread>54</thread>
      <message>UI_USER_CONFIGURATION</message>
      <key>UI_USER_CONFIGURATION</key>
      <catalog>org.netbeans.modules.uihandler.Bundle</catalog>
      <param>Linux, 5.8.0-7642-generic, amd64</param>
      <param>OpenJDK 64-Bit Server VM, 11.0.10+9-Ubuntu-0ubuntu1.20.04, OpenJDK Runtime Environment, 11.0.10+9-Ubuntu-0ubuntu1.20.04</param>
      <param>Apache NetBeans IDE 12.0</param>
      <param></param>
      <param>OutOfMemoryError: Can't create offscreen surface</param>
      <param><Please provide a description of the problem or the steps to reproduce></param>
      <param>*********</param>
      </record>

      I saved the IDE.LOG but its 142KB and I hesitate to include it all. Available if needed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              PurpleElmo Donald Albertson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: