Hello all, I created an app which loads heavy 3d models into memory. This app runs fine on pre android 2.3 devices.
However i updated my nexus one to Android 2.3, and now the app crashes. I get the error listed below. However this error is not really usefull. What should i do to fix this? "Using less memory" is difficult because i still need to load the 3d model into memory. 03-03 23:18:35.483: INFO/Min3D(17779): Renderer.onSurfaceCreated() 03-03 23:18:35.483: VERBOSE/Min3D(17779): RenderCaps - openGLVersion: 1.1 03-03 23:18:35.503: VERBOSE/Min3D(17779): RenderCaps - maxTextureUnits: 2 03-03 23:18:35.503: VERBOSE/Min3D(17779): RenderCaps - maxTextureSize: 4096 03-03 23:18:35.503: VERBOSE/Min3D(17779): RenderCaps - maxLights: 8 03-03 23:18:35.503: INFO/Min3D(17779): Scene.init() 03-03 23:18:35.503: VERBOSE/x(17779): ManagedLightList.reset() 03-03 23:18:35.503: DEBUG/WeaponDescripitonActivity(17779): initScene 03-03 23:18:35.503: INFO/Min3D(17779): Renderer.onSurfaceChanged() 03-03 23:18:35.543: ERROR/qsd8k.gralloc(96): /dev/pmem: no more pmem available 03-03 23:18:35.543: ERROR/qsd8k.gralloc(96): couldn't open pmem (Unknown error: 0) 03-03 23:18:35.543: ERROR/qsd8k.gralloc(96): gralloc failed err=Out of memory 03-03 23:18:35.543: WARN/GraphicBufferAllocator(96): alloc(800, 480, 1, 00000303, ...) failed -12 (Out of memory) 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): Allocated buffers: 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x3309b0: 1243.75 KiB | 800 ( 800) x 398 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x351288: 544.00 KiB | 520 ( 544) x 256 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x3c6a70: 1500.00 KiB | 800 ( 800) x 480 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x3ef848: 1500.00 KiB | 800 ( 800) x 480 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x3f63a0: 1243.75 KiB | 800 ( 800) x 398 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x40f358: 723.75 KiB | 480 ( 480) x 386 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x435788: 750.00 KiB | 480 ( 480) x 800 | 4 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x47d640: 723.75 KiB | 480 ( 480) x 386 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x4abf38: 1018.75 KiB | 800 ( 800) x 326 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x4afd50: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x4bd290: 118.75 KiB | 800 ( 800) x 38 | 2 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x4d6cf0: 486.00 KiB | 375 ( 384) x 324 | 1 | 0x00000303 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x4e0060: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x504da0: 448.00 KiB | 432 ( 448) x 256 | 1 | 0x00000133 03-03 23:18:35.543: DEBUG/GraphicBufferAllocator(96): 0x506738: 1428.75 KiB | 480 ( 480) 03-03 23:18:35.543: ERROR/SurfaceFlinger(96): Layer::requestBuffer(this=0x63d530), index=1, w=800, h=480 failed (Out of memory) 03-03 23:18:35.543: ERROR/Surface(17779): Surface (identity=2407) requestBuffer(1, 0, 0, 1, 00000203) returned a buffer with a null handle 03-03 23:18:35.543: ERROR/Surface(17779): getBufferLocked(1, 0, 0, 1, 00000203) failed (Out of memory) 03-03 23:18:35.543: ERROR/Adreno200-EGL(17779): egliSwapWindowSurface: unable to dequeue native buffer 03-03 23:18:35.543: ERROR/qsd8k.gralloc(96): /dev/pmem: no more pmem available 03-03 23:18:35.543: ERROR/qsd8k.gralloc(96): couldn't open pmem (No such file or directory) 03-03 23:18:35.543: ERROR/qsd8k.gralloc(96): gralloc failed err=Out of memory -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

