Ho un app composta da varie activity, è possibile passare da un'activity all'altra con i pulsanti avanti e indietro, l'app visualizza dei dati che legge dal db sqllite e visualizza delle immagini che prende dalla directory drawable
il problema è che dopo un pò che la uso nel log cominciano ad apparire questi messaggi di errore quando passo da un'activity all'altra e se continuo lo schermo diventa tutto nero e sono costretto a rivviare il cellulare
Sapete come posso fare ad analizzare il problema?
Il problema si verifica con un htc Desire e Android 2.3.3
05-30 15:28:07.743: ERROR/qsd8k.gralloc(180): /dev/pmem: no more pmem available
05-30 15:28:07.743: ERROR/qsd8k.gralloc(180): couldn't open pmem (Unknown error: 0)
05-30 15:28:07.743: ERROR/qsd8k.gralloc(180): gralloc failed err=Out of memory
05-30 15:28:07.743: WARN/GraphicBufferAllocator(180): alloc(480, 800, 2, 00000133, ...) failed -12 (Out of memory)
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): Allocated buffers:
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0xdb1f0: 120.00 KiB | 246 ( 256) x 120 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x18bdc8: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x22e4d8: 60.00 KiB | 102 ( 128) x 120 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x22fa18: 60.00 KiB | 102 ( 128) x 120 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x239cf0: 71.25 KiB | 480 ( 480) x 38 | 2 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x24c418: 71.25 KiB | 480 ( 480) x 38 | 2 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x24d4b0: 168.75 KiB | 480 ( 480) x 90 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x26f0c0: 1346.25 KiB | 480 ( 480) x 718 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x27e320: 60.00 KiB | 102 ( 128) x 120 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x280bb8: 1346.25 KiB | 480 ( 480) x 718 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x29f7a0: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x2aa7d8: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x2c07c8: 53.12 KiB | 135 ( 160) x 85 | 1 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x2c2450: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
05-30 15:28:07.743: DEBUG/GraphicBufferAllocator(180): 0x2fd198: 75.00 KiB | 150 ( 160)
05-30 15:28:07.743: ERROR/SurfaceFlinger(180): Layer::requestBuffer(this=0x931d78), index=0, w=480, h=800 failed (Out of memory)
05-30 15:28:07.753: ERROR/Surface(4212): Surface (identity=2870) requestBuffer(0, 0, 0, 0, 00000033) returned a buffer with a null handle
05-30 15:28:07.753: ERROR/Surface(4212): getBufferLocked(0, 0, 0, 0, 00000033) failed (Out of memory)
05-30 15:28:07.753: ERROR/Surface(4212): dequeueBuffer failed (Out of memory)
05-30 15:28:07.753: ERROR/ViewRoot(4212): OutOfResourcesException locking surface
05-30 15:28:07.753: ERROR/ViewRoot(4212): android.view.Surface$OutOfResourcesException
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.view.Surface.lockCanvasNative(Native Method)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.view.Surface.lockCanvas(Surface.java:314)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.view.ViewRoot.draw(ViewRoot.java:1457)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.view.ViewRoot.performTraversals(ViewRoot.java:1259)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.view.ViewRoot.handleMessage(ViewRoot.java:1860)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.os.Handler.dispatchMessage(Handler.java:99)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.os.Looper.loop(Looper.java:123)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at android.app.ActivityThread.main(ActivityThread.java:3835)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at java.lang.reflect.Method.invokeNative(Native Method)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at java.lang.reflect.Method.invoke(Method.java:507)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
05-30 15:28:07.753: ERROR/ViewRoot(4212): at dalvik.system.NativeStart.main(Native Method)
05-30 15:28:07.933: INFO/ActivityManager(180): Displayed it.b2m.quizgems/.Domanda: +319ms