Post Reply

[Q] [KK] ION_IOC_ALLOC failed with error - Out of memory

OP natediggity

16th March 2014, 10:18 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
7 posts
Join Date:Joined: Mar 2014
More
I consistently get an out of memory issue when running either the Evervolv or CM11 kitkat ROMs. The trigger seems to be the use of Feedly, combined with either rotating the screen or dragging down the status bar. Once my phone gets in this state, it usually takes a reboot to recover. The lockscreen will come on/off, status bar appears/disappears...

Feedly works on my other KitKat devices and I didn't have this issue before moving to KitKat on my inc. Is this a known issue? A limitation of our device?

Code:
W/InputMethodManagerService(  518): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41fec7d0 attribute=null, token = android.os.BinderProxy@41fb2bd8
I/auditd  ( 3354): Starting up
E/auditd  ( 3354): Failed on audit_set_pid with error: Protocol not supported
I/auditd  ( 3354): Exiting
I/InputReader(  518): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  518): Device reconfigured: id=4, name='atmel-touchscreen', size 480x800, orientation 1, mode 1, display id 0
I/ActivityManager(  518): Config changes=480 {1.0 310mcc12mnc en_US ldltr sw320dp w533dp h294dp 240dpi nrml long land finger -keyb/v/h tball/v s.10 themeResource=null}
D/PhoneStatusBar( 1023): mSettingsPanelGravity = 55
I/MODAL   ( 3199): draw
I/ActivityManager(  518): Timeline: Activity_windows_visible id: ActivityRecord{42061248 u0 com.devhd.feedly/.Main t3} time:620191
I/WindowManager(  518): Screen frozen for +661ms due to Window{421c2630 u0 StatusBar}
E/memalloc( 3199): ION_IOC_ALLOC failed with error - Out of memory
E/gralloc ( 3199): gralloc failed err=Out of memory
W/GraphicBufferAllocator( 3199): alloc(512, 384, 1, 00000133, ...) failed -12 (Out of memory)
E/memalloc( 3199): ION_IOC_ALLOC failed with error - Out of memory
E/gralloc ( 3199): gralloc failed err=Out of memory
W/GraphicBufferAllocator( 3199): alloc(512, 384, 1, 00000133, ...) failed -12 (Out of memory)
I/ActivityManager(  518): Config changes=480 {1.0 310mcc12mnc en_US ldltr sw320dp w320dp h508dp 240dpi nrml long port finger -keyb/v/h tball/v s.11 themeResource=null}
I/InputReader(  518): Reconfiguring input devices.  changes=0x00000004
I/InputReader(  518): Device reconfigured: id=4, name='atmel-touchscreen', size 480x800, orientation 0, mode 1, display id 0
D/PhoneStatusBar( 1023): mSettingsPanelGravity = 55
I/MODAL   ( 3199): draw
I/ActivityManager(  518): Timeline: Activity_windows_visible id: ActivityRecord{42061248 u0 com.devhd.feedly/.Main t3} time:622236
E/memalloc(   88): ION_IOC_ALLOC failed with error - Out of memory
E/gralloc (   88): gralloc failed err=Out of memory
W/GraphicBufferAllocator(   88): alloc(480, 800, 1, 00000b03, ...) failed -12 (Out of memory)
D/GraphicBufferAllocator(   88): Allocated buffers:
D/GraphicBufferAllocator(   88): 0x416318e8: 2300.00 KiB |  720 ( 736) x  800 |        2 | 0x00000933
D/GraphicBufferAllocator(   88): 0x4163fb60: 1500.00 KiB |  480 ( 480) x  800 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): 0x41641660: 1500.00 KiB |  480 ( 480) x  800 |        1 | 0x00000b33
D/GraphicBufferAllocator(   88): 0x41644308: 1500.00 KiB |  480 ( 480) x  800 |        2 | 0x00001a03
D/GraphicBufferAllocator(   88): 0x41644dc0: 1500.00 KiB |  480 ( 480) x  800 |        2 | 0x00001a03
D/GraphicBufferAllocator(   88): 0x41666018: 1500.00 KiB |  800 ( 800) x  480 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): 0x416660a0:  118.75 KiB |  800 ( 800) x   38 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): 0x416667a8:  118.75 KiB |  800 ( 800) x   38 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): Total allocated (estimate): 10037.50 KB
E/        (   88): GraphicBufferAlloc::createGraphicBuffer(w=480, h=800) failed (Out of memory), handle=0x0
E/BufferQueue(   88): [com.devhd.feedly/com.devhd.feedly.Main] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB( 3199): <DequeueBuffer:461>: dequeue native buffer fail: Out of memory
W/Adreno200-ES20( 3199): <gl2_surface_swap:43>: GL_OUT_OF_MEMORY
W/Adreno200-EGL( 3199): <eglSwapBuffers:3498>: EGL_BAD_ALLOC
W/HardwareRenderer( 3199): EGL error: EGL_BAD_ALLOC
W/HardwareRenderer( 3199): Mountain View, we've had a problem here. Switching back to software rendering.
E/memalloc(   88): ION_IOC_ALLOC failed with error - Out of memory
E/gralloc (   88): gralloc failed err=Out of memory
W/GraphicBufferAllocator(   88): alloc(480, 800, 1, 00000933, ...) failed -12 (Out of memory)
D/GraphicBufferAllocator(   88): Allocated buffers:
D/GraphicBufferAllocator(   88): 0x416318e8: 2300.00 KiB |  720 ( 736) x  800 |        2 | 0x00000933
D/GraphicBufferAllocator(   88): 0x4163fb60: 1500.00 KiB |  480 ( 480) x  800 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): 0x41641660: 1500.00 KiB |  480 ( 480) x  800 |        1 | 0x00000b33
D/GraphicBufferAllocator(   88): 0x41644308: 1500.00 KiB |  480 ( 480) x  800 |        2 | 0x00001a03
D/GraphicBufferAllocator(   88): 0x41644dc0: 1500.00 KiB |  480 ( 480) x  800 |        2 | 0x00001a03
D/GraphicBufferAllocator(   88): 0x41666018: 1500.00 KiB |  800 ( 800) x  480 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): 0x416660a0:  118.75 KiB |  800 ( 800) x   38 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): 0x416667a8:  118.75 KiB |  800 ( 800) x   38 |        1 | 0x00000b03
D/GraphicBufferAllocator(   88): Total allocated (estimate): 10037.50 KB
E/        (   88): GraphicBufferAlloc::createGraphicBuffer(w=480, h=800) failed (Out of memory), handle=0x0
E/BufferQueue(   88): [com.devhd.feedly/com.devhd.feedly.Main] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
E/Surface ( 3199): dequeueBuffer failed (Out of memory)
E/ViewRootImpl( 3199): OutOfResourcesException initializing HW surface
E/ViewRootImpl( 3199): android.view.Surface$OutOfResourcesException
E/ViewRootImpl( 3199): 	at android.view.Surface.nativeLockCanvas(Native Method)
E/ViewRootImpl( 3199): 	at android.view.Surface.lockCanvas(Surface.java:243)
E/ViewRootImpl( 3199): 	at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2435)
E/ViewRootImpl( 3199): 	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2409)
E/ViewRootImpl( 3199): 	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2253)
E/ViewRootImpl( 3199): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1883)
E/ViewRootImpl( 3199): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
E/ViewRootImpl( 3199): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
E/ViewRootImpl( 3199): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
E/ViewRootImpl( 3199): 	at android.view.Choreographer.doCallbacks(Choreographer.java:574)
E/ViewRootImpl( 3199): 	at android.view.Choreographer.doFrame(Choreographer.java:544)
E/ViewRootImpl( 3199): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
E/ViewRootImpl( 3199): 	at android.os.Handler.handleCallback(Handler.java:733)
E/ViewRootImpl( 3199): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/ViewRootImpl( 3199): 	at android.os.Looper.loop(Looper.java:136)
E/ViewRootImpl( 3199): 	at android.app.ActivityThread.main(ActivityThread.java:5081)
E/ViewRootImpl( 3199): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/ViewRootImpl( 3199): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/ViewRootImpl( 3199): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/ViewRootImpl( 3199): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/ViewRootImpl( 3199): 	at dalvik.system.NativeStart.main(Native Method)
I/WindowManager(  518): Out of memory for surface!  Looking for leaks...
W/WindowManager(  518): No leaked surfaces; killing applicatons!
W/ActivityManager(  518): Killing processes Free memory at adjustment 5
W/WindowManager(  518): Due to memory failure, waiting a bit for next layout
I/Process ( 3199): Sending signal. PID: 3199 SIG: 9
W/ViewRootImpl( 3199): No processes killed for memory; killing self
I/ActivityManager(  518): Process com.devhd.feedly (pid 3199) has died.
W/ActivityManager(  518): Force removing ActivityRecord{42061248 u0 com.devhd.feedly/.Main t3}: app died, no saved state
W/InputDispatcher(  518): channel '42200248 com.devhd.feedly/com.devhd.feedly.Main (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
E/InputDispatcher(  518): channel '42200248 com.devhd.feedly/com.devhd.feedly.Main (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher(  518): Attempted to unregister already unregistered input channel '42200248 com.devhd.feedly/com.devhd.feedly.Main (server)'
I/WindowState(  518): WIN DEATH: Window{42200248 u0 com.devhd.feedly/com.devhd.feedly.Main}
I/WindowManager(  518): Screen frozen for +676ms due to Window{421c2630 u0 StatusBar}
W/InputMethodManagerService(  518): Got RemoteException sending setActive(false) notification to pid 3199 uid 10068
W/Binder  ( 1140): Caught a RuntimeException from the binder stub implementation.
W/Binder  ( 1140): java.lang.NullPointerException
W/Binder  ( 1140): 	at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
W/Binder  ( 1140): 	at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
W/Binder  ( 1140): 	at android.os.Binder.execTransact(Binder.java:404)
W/Binder  ( 1140): 	at dalvik.system.NativeStart.run(Native Method)
I/ActivityManager( 1183): Timeline: Activity_idle id: android.os.BinderProxy@41a5ea70 time:623239
I/ActivityManager(  518): Timeline: Activity_windows_visible id: ActivityRecord{42191898 u0 com.cyanogenmod.trebuchet/com.android.launcher3.Launcher t1} time:623244
18th March 2014, 11:16 AM   |  #2  
Recognized Developer
Thanks Meter: 4,205
 
7,864 posts
Join Date:Joined: Jan 2011
More
I've not heard of this issue before. It wouldn't surprise me if part of it is due to lack of resources or the rest poor app coding.

Sent from my One using Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes