java.lang.OutOfMemoryError: Java heap space

Stack Overflow | Karl Morrison | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Intellij IDEA not starting up

    Stack Overflow | 8 months ago | Karl Morrison
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.util.Arrays.copyOf()
    2. Java RT
      BasicGraphicsUtils.drawStringUnderlineCharAt
      1. java.util.Arrays.copyOf(Arrays.java:3236)
      2. java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
      3. java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
      4. java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:135)
      5. sun.font.XRGlyphCacheEntry.writePixelData(XRGlyphCacheEntry.java:154)
      6. sun.font.XRGlyphCache.generateGlyphImageStream(XRGlyphCache.java:217)
      7. sun.font.XRGlyphCache.uploadGlyphs(XRGlyphCache.java:164)
      8. sun.font.XRGlyphCache.cacheGlyphs(XRGlyphCache.java:134)
      9. sun.font.XRTextRenderer.drawGlyphList(XRTextRenderer.java:81)
      10. sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:72)
      11. sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2928)
      12. sun.swing.SwingUtilities2.drawString(SwingUtilities2.java:593)
      13. sun.swing.SwingUtilities2.drawStringUnderlineCharAt(SwingUtilities2.java:612)
      14. javax.swing.plaf.basic.BasicGraphicsUtils.drawStringUnderlineCharAt(BasicGraphicsUtils.java:246)
      14 frames
    3. IDEA
      IdeaMenuUI.update
      1. com.intellij.ui.plaf.beg.IdeaMenuUI.paint(IdeaMenuUI.java:169)
      2. com.intellij.ui.plaf.beg.IdeaMenuUI.update(IdeaMenuUI.java:405)
      2 frames
    4. Java RT
      JComponent.paintChildren
      1. javax.swing.JComponent.paintComponent(JComponent.java:780)
      2. javax.swing.JComponent.paint(JComponent.java:1056)
      3. javax.swing.JComponent.paintChildren(JComponent.java:889)
      3 frames
    5. IDEA
      IdeMenuBar.paintChildren
      1. com.intellij.openapi.wm.impl.IdeMenuBar.paintChildren(IdeMenuBar.java:400)
      1 frame
    6. Java RT
      JComponent.paint
      1. javax.swing.JComponent.paint(JComponent.java:1065)
      1 frame
    7. IDEA
      IdeMenuBar.paint
      1. com.intellij.openapi.wm.impl.IdeMenuBar.paint(IdeMenuBar.java:160)
      1 frame
    8. Java RT
      GraphicsCallback$PaintCallback.run
      1. javax.swing.JComponent.paintChildren(JComponent.java:889)
      2. javax.swing.JComponent.paint(JComponent.java:1065)
      3. javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
      4. javax.swing.JComponent.paintChildren(JComponent.java:889)
      5. javax.swing.JComponent.paintToOffscreen(JComponent.java:5217)
      6. javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
      7. javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
      8. javax.swing.RepaintManager.paint(RepaintManager.java:1272)
      9. javax.swing.JComponent.paint(JComponent.java:1042)
      10. java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
      10 frames