ltrebuchet Member Licensed User Longtime User Apr 14, 2013 #1 I have an app that has been working smooth on android 2.3.6. for a couple of years. Updating to Android 4.0.4 it gives an empty screen with only the app name and after a while the message: application stopped. Running it Debug mode I do not get anything in the debug window but the log says : java.lang.OutOfMemoryError Thanks for help Louis
I have an app that has been working smooth on android 2.3.6. for a couple of years. Updating to Android 4.0.4 it gives an empty screen with only the app name and after a while the message: application stopped. Running it Debug mode I do not get anything in the debug window but the log says : java.lang.OutOfMemoryError Thanks for help Louis
agraham Expert Licensed User Longtime User Apr 14, 2013 #2 The stack trace in the log will tell you where it is throwing the exception. Out of memory is usually caused by too many or too large Bitmaps. Upvote 0
The stack trace in the log will tell you where it is throwing the exception. Out of memory is usually caused by too many or too large Bitmaps.
ltrebuchet Member Licensed User Longtime User Apr 14, 2013 #3 Yes I know yes I know, there are 15+ lines of exception. But my question is not there. It is why does this happen now with Android 4.0.4 though it never happened before with 2.3.6? Thanks Upvote 0
Yes I know yes I know, there are 15+ lines of exception. But my question is not there. It is why does this happen now with Android 4.0.4 though it never happened before with 2.3.6? Thanks
Erel B4X founder Staff member Licensed User Longtime User Apr 15, 2013 #4 Different devices can have different limitations. Another possible reason is that the Android 4 scale is higher. Then is you use LoadBitmapSample you probably pass larger dimensions. Upvote 0
Different devices can have different limitations. Another possible reason is that the Android 4 scale is higher. Then is you use LoadBitmapSample you probably pass larger dimensions.
ltrebuchet Member Licensed User Longtime User Apr 15, 2013 #5 Thanks Erel As it is the same device and the same app with the same bitmaps il must be that. I am going to look into it. Thanks Upvote 0
Thanks Erel As it is the same device and the same app with the same bitmaps il must be that. I am going to look into it. Thanks