Android Question Gifviewer fails on my tablet but works fine on my phone

Richard Phipps

Member
Licensed User
I use an Samsung s21 but have and old Samsung Pro p900 tablet. The app works great on both even GPS and SQL but the animate Gifs in Gifviewer fails with an error which does not make much sense. Can someone shed some light on this please

Does this mean a RAM error...not enough size?

** Activity (airlaw) Resume **
Ignoring event: tts1_ready
** Activity (airlaw) Pause, UserClosed = false **
** Activity (marshalling) Create, isFirst = true **
java.lang.OutOfMemoryError: Failed to allocate a 5760012 byte allocation with 4311940 free bytes and 4MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1020)
at android.graphics.Bitmap.createBitmap(Bitmap.java:1044)
at anywheresoftware.b4a.agraham.gifdecoder.GifDecoder.SetPixels(GifDecoder.java:298)
at anywheresoftware.b4a.agraham.gifdecoder.GifDecoder.SetPixels(GifDecoder.java:396)
at anywheresoftware.b4a.agraham.gifdecoder.GifDecoder.ReadImage(GifDecoder.java:805)
at anywheresoftware.b4a.agraham.gifdecoder.GifDecoder.ReadContents(GifDecoder.java:672)
at anywheresoftware.b4a.agraham.gifdecoder.GifDecoder.Read(GifDecoder.java:559)
at anywheresoftware.b4a.agraham.gifdecoder.GifDecoder.Load(GifDecoder.java:211)
at b4a.flylog.gifviewer._setgif(gifviewer.java:235)
at b4a.flylog.marshalling._activity_create(marshalling.java:410)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
 
Top