OutOdMemoryError
in
Android Processing
•
1 year ago
Hi,
I get this error in my project:
FATAL EXCEPTION: Animation Thread
java.lang.OutOfMemoryError: bitmap size exceeds VM budget
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:460)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:525)
at processing.core.PApplet.loadImage(Unknown Source)
at processing.core.PApplet.loadImage(Unknown Source)
at processing.android.test.moodimput.MoodImput$Selector.<init>(MoodImput.java:481)
at processing.android.test.moodimput.MoodImput.setupObjects(MoodImput.java:90)
at processing.android.test.moodimput.MoodImput.draw(MoodImput.java:199)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:1019)
It looks to be related to some PImages, I can't get why it is out of memory as all my pictures together are worth 400ko...
1