java.lang.RuntimeException

java.lang.OutOfMemoryError: Java heap space

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58) at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100) at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205) at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172) at javax.media.opengl.Threading.invoke(Threading.java:191) at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483) at processing.opengl.PGL.requestDraw(PGL.java:1155) at processing.opengl.PGraphicsOpenGL.requestDraw(PGraphicsOpenGL.java:1602) at processing.core.PApplet.run(PApplet.java:2141) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.OutOfMemoryError: Java heap space at processing.opengl.PGraphicsOpenGL$TessGeometry.expandLineDirections(PGraphicsOpenGL.java:9678) at processing.opengl.PGraphicsOpenGL$TessGeometry.lineVertexCheck(PGraphicsOpenGL.java:9306) at processing.opengl.PGraphicsOpenGL$Tessellator.tessellateEdges3D(PGraphicsOpenGL.java:11147) at processing.opengl.PGraphicsOpenGL$Tessellator.tessellateEdges(PGraphicsOpenGL.java:11133) at processing.opengl.PGraphicsOpenGL$Tessellator.tessellateTriangleFan(PGraphicsOpenGL.java:11634) at processing.opengl.PGraphicsOpenGL.tessellate(PGraphicsOpenGL.java:2245) at processing.opengl.PGraphicsOpenGL.endShape(PGraphicsOpenGL.java:2055) at processing.core.PGraphics.endShape(PGraphics.java:1589) at processing.opengl.PGraphicsOpenGL.ellipse(PGraphicsOpenGL.java:2961) at processing.core.PApplet.ellipse(PApplet.java:11814) at MemoryError.draw(MemoryError.java:26) at processing.core.PApplet.handleDraw(PApplet.java:2270) at processing.opengl.PGL$PGLListener.display(PGL.java:2643) at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:576) at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:561) at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054) at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1024) at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:899) at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666) at java.awt.EventQueue.access$400(EventQueue.java:81) at java.awt.EventQueue$2.run(EventQueue.java:627) at java.awt.EventQueue$2.run(EventQueue.java:625) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:636) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

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

We couldn't find other users who have seen this exception.