Weird OPENGL error
in
Android Processing
•
2 years ago
I have been trying to figure out the source of this error for a while... it only happens when I use A3D.
The console prints this:
http://www.jaboston.com
- FATAL EXCEPTION: GLThread 53
- java.lang.OutOfMemoryError: (Heap Size=30535KB, Allocated=18825KB, Bitmap Size=68KB)
- at processing.core.PTexture.createTexture(Unknown Source)
- at processing.core.PTexture.<init>(Unknown Source)
- at processing.core.PGraphicsAndroid3D.addTexture(Unknown Source)
- at processing.core.PGraphicsAndroid3D.getTexture(Unknown Source)
- at processing.core.PGraphicsAndroid3D.renderTriangles(Unknown Source)
- at processing.core.PGraphicsAndroid3D.endShape(Unknown Source)
- at processing.core.PGraphics.endShape(Unknown Source)
- at processing.core.PGraphics.imageImpl(Unknown Source)
- at processing.core.PGraphics.image(Unknown Source)
- at processing.core.PApplet.image(Unknown Source)
- at processing.android.test.b10806062011.B10806062011$Backdrop.update(B10806062011.java:182)
- at processing.android.test.b10806062011.B10806062011$Events.animate(B10806062011.java:357)
- at processing.android.test.b10806062011.B10806062011.draw(B10806062011.java:107)
- at processing.core.PApplet.handleDraw(Unknown Source)
- at processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(Unknown Source)
- at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)
- at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
http://www.jaboston.com
1