java.lang.OutOfMemoryError: sun.awt.image.BufferedImageGraphics2D

Oracle Community | 807551 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    catching java.lang.OutOfMemoryError

    Oracle Community | 2 decades ago | 807551
    java.lang.OutOfMemoryError: sun.awt.image.BufferedImageGraphics2D
  2. 0

    java set max stack size

    Stack Overflow | 6 years ago | michael nesterenko
    java.lang.OutOfMemoryError: unable to create new native thread
  3. 0

    How to prevent memory leak in JTextPane.setCaretPosition(int)?

    Stack Overflow | 2 years ago | Andrey
    java.lang.OutOfMemoryError: GC overhead limit exceeded
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 509#10888638

    GitHub | 4 years ago | pwalczysko
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    "Unknown error inside the compiler" and OutOfMemoryError

    GitHub | 1 year ago | mark-fathom
    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

      sun.awt.image.BufferedImageGraphics2D

      at java.lang.Object.clone()
    2. Java RT
      EventDispatchThread.run
      1. java.lang.Object.clone(Native Method)
      2. sun.java2d.SunGraphics2D.clone(SunGraphics2D.java:245)
      3. sun.java2d.SunGraphics2D.create(SunGraphics2D.java:261)
      4. javax.swing.SwingGraphics.createSwingGraphics(SwingGraphics.java:160)
      5. javax.swing.JComponent.paint(JComponent.java:554)
      6. javax.swing.JComponent.paintWithBuffer(JComponent.java:3750)
      7. javax.swing.JComponent._paintImmediately(JComponent.java:3695)
      8. javax.swing.JComponent.paintImmediately(JComponent.java:3544)
      9. javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:365)
      10. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:198)
      11. javax.swing.SystemEventQueueUtilities.processRunnableEvent(SystemEventQueueUtilities.java:398)
      12. javax.swing.SystemEventQueueUtilities.access$0(SystemEventQueueUtilities.java:394)
      13. javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(SystemEventQueueUtilities.java:435)
      14. java.awt.Component.dispatchEventImpl(Component.java:2399)
      15. java.awt.Component.dispatchEvent(Component.java:2312)
      16. java.awt.EventQueue.dispatchEvent(EventQueue.java:301)
      17. java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchThread.java:120)
      18. java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThread.java:95)
      19. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90)
      20. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      20 frames