[android-developers] OOM on Droid 4 / Razr / Razr Maxx (so: Motorola Android phones?)
Had a sudden influx of users recently, and from that I've discovered that my app doesn't run on the Droid 4 or the Razr. It seems that it runs out of memory, though the app runs fine on all other handsets (AFAIK), including much older handsets. For example, it runs on the HTC Desire, which has half the RAM of the Razr. I don't have any motorola handsets (or I'd just be debugging with them), and it runs fine in both the Razr and Droid4 emulated AVDs (from Motodev).
Does anyone have an idea as to what is going on? Is there something up with Motorola's architecture? The Razr has a whopping 1gb of RAM, yet does this:
java.lang.OutOfMemoryError
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:6
at android.graphics.Bitmap.createBitmap(Bitmap.java:6
at com.onelivesleft.pigmentdemo.GameScreen.<init>(Unk
at com.onelivesleft.pigmentdemo.LoadingScreen.update(
pause
at com.onelivesleft.framework.impl.AndroidFastRenderV
at java.lang.Thread.run(Thread.java:856)
When run on a Razr the app will be loading exactly the same apps, creating exactly the same bitmaps (same resolution: 800x480. The only time it scales up for a higher-res display is the final blit to screen)... I just don't get it.
Any help/info appreciated!
Iain
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home