java.lang.OutOfMemoryError

sun.awt.image.BufferedImageGraphics2D

Solutions on the web1

  • via Oracle Community by 807551, 11 months ago
    sun.awt.image.BufferedImageGraphics2D
  • Stack trace

    • java.lang.OutOfMemoryError: sun.awt.image.BufferedImageGraphics2D at java.lang.Object.clone(Native Method) at sun.java2d.SunGraphics2D.clone(SunGraphics2D.java:245) at sun.java2d.SunGraphics2D.create(SunGraphics2D.java:261) at javax.swing.SwingGraphics.createSwingGraphics(SwingGraphics.java:160) at javax.swing.JComponent.paint(JComponent.java:554) at javax.swing.JComponent.paintWithBuffer(JComponent.java:3750) at javax.swing.JComponent._paintImmediately(JComponent.java:3695) at javax.swing.JComponent.paintImmediately(JComponent.java:3544) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:198) at javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:398) at javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:394) at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:435) at java.awt.Component.dispatchEventImpl(Component.java:2399) at java.awt.Component.dispatchEvent(Component.java:2312) at java.awt.EventQueue.dispatchEvent(EventQueue.java:301) at java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchThread.java:120) at java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThread.java:95) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago