java.lang.OutOfMemoryError 0198
in
Android Processing
•
2 years ago
got a few errors here from people on the android market:
All with revision 0198. I couldnt run ant with 0199 because of the classes.dex (it said something like that).
v1.3.1
Jun 29, 2011 10:14:37 PM
1 reports/week
1 reports
java.lang.OutOfMemoryError
at processing.core.PImage.loadPixels(Unknown Source)
at processing.core.PImage.resize(Unknown Source)
at processing.android.test.e1.E1.setup(E1.java:237)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1332)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
at processing.core.PImage.loadPixels(Unknown Source)
at processing.core.PImage.resize(Unknown Source)
at processing.android.test.e1.E1.setup(E1.java:237)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1332)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
Platforms
OTHER
2 reports/week
9 reports
Droid
0 reports/week
1 reports
Stack traces
v1.3.1
Jun 29, 2011 9:58:16 PM
1 reports/week
1 reports
java.lang.OutOfMemoryError: (Heap Size=19991KB, Allocated=14801KB, Bitmap Size=69KB)
at processing.core.PTexture.createTexture(Unknown Source)
at processing.core.PTexture.<init>(Unknown Source)
at processing.core.PFontTexture.addTexture(Unknown Source)
at processing.core.PFontTexture.initTexture(Unknown Source)
at processing.core.PFontTexture.<init>(Unknown Source)
at processing.core.PGraphicsAndroid3D.textLineImpl(Unknown Source)
at processing.core.PGraphics.textLineAlignImpl(Unknown Source)
at processing.core.PGraphics.text(Unknown Source)
at processing.core.PApplet.text(Unknown Source)
at processing.android.test.e1.E1$Startup.start(E1.java:2730)
at processing.android.test.e1.E1$Events.animate(E1.java:1084)
at processing.android.test.e1.E1.draw(E1.java:339)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1341)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
at processing.core.PTexture.createTexture(Unknown Source)
at processing.core.PTexture.<init>(Unknown Source)
at processing.core.PFontTexture.addTexture(Unknown Source)
at processing.core.PFontTexture.initTexture(Unknown Source)
at processing.core.PFontTexture.<init>(Unknown Source)
at processing.core.PGraphicsAndroid3D.textLineImpl(Unknown Source)
at processing.core.PGraphics.textLineAlignImpl(Unknown Source)
at processing.core.PGraphics.text(Unknown Source)
at processing.core.PApplet.text(Unknown Source)
at processing.android.test.e1.E1$Startup.start(E1.java:2730)
at processing.android.test.e1.E1$Events.animate(E1.java:1084)
at processing.android.test.e1.E1.draw(E1.java:339)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1341)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
v1.3.1
Jun 29, 2011 9:40:22 PM
1 reports/week
1 reports
java.lang.OutOfMemoryError
at processing.core.PTexture.createTexture(Unknown Source)
at processing.core.PTexture.<init>(Unknown Source)
at processing.core.PFontTexture.addTexture(Unknown Source)
at processing.core.PFontTexture.initTexture(Unknown Source)
at processing.core.PFontTexture.<init>(Unknown Source)
at processing.core.PGraphicsAndroid3D.textLineImpl(Unknown Source)
at processing.core.PGraphics.textLineAlignImpl(Unknown Source)
at processing.core.PGraphics.text(Unknown Source)
at processing.core.PApplet.text(Unknown Source)
at processing.android.test.e1.E1$Startup.start(E1.java:2730)
at processing.android.test.e1.E1$Events.animate(E1.java:1084)
at processing.android.test.e1.E1.draw(E1.java:339)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1339)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1123)
at processing.core.PTexture.createTexture(Unknown Source)
at processing.core.PTexture.<init>(Unknown Source)
at processing.core.PFontTexture.addTexture(Unknown Source)
at processing.core.PFontTexture.initTexture(Unknown Source)
at processing.core.PFontTexture.<init>(Unknown Source)
at processing.core.PGraphicsAndroid3D.textLineImpl(Unknown Source)
at processing.core.PGraphics.textLineAlignImpl(Unknown Source)
at processing.core.PGraphics.text(Unknown Source)
at processing.core.PApplet.text(Unknown Source)
at processing.android.test.e1.E1$Startup.start(E1.java:2730)
at processing.android.test.e1.E1$Events.animate(E1.java:1084)
at processing.android.test.e1.E1.draw(E1.java:339)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid3D$A3DRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1339)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1123)
All with revision 0198. I couldnt run ant with 0199 because of the classes.dex (it said something like that).
i can share the games source if that helps (its a monstrously big game and youll probably put your palm over your face when you see the code).
edit: i have taken off the nullPointer that was originally here as I have figured that one out ;P.
going on a family trip today as well so I will bring my code with me and see if there is anything noticeably erroneous in the code that could be causing it whilst I am out. It is the same game from the original post i made ;).
cheers :)
1