Hi All,
I am running in to out of memory while using 800x480 resolution. While
the same code runs fine for 320x480 resolution. In heap memory alloc
after some time i get NO_MEMORY and this exception. Does this bigger
resoltion need more of heap memory.
In logcat i am getting following messages.

E/SurfaceFlinger(  985): resizing buffer 0 to (800,353) failed
[00000000] Unknown error: 0
E/SurfaceFlinger(  985): not enough memory for layer bitmap
size=1130496
E/SurfaceFlinger(  985): resizing buffer 1 to (800,353) failed
[fffffff4] Unknown error: -12
E/SurfaceComposerClient(  985): surface (id=2, identity=26) is
invalid, err=-12 (Out of memory)
W/WindowManager(  985): Failure showing surface Surface(native-
token=2057232) in Window{438f9fb8 PopupWindow:43851350 paused=false}
I/WindowManager(  985): Out of memory for surface!  Looking for
leaks...
W/WindowManager(  985): No leaked surfaces; killing applicatons!
W/ActivityManager(  985): Killing processes for memory at adjustment 1
W/ActivityManager(  985): Killing for memory: ProcessRecord{438e32e8
1173:com.android.inputmethod.latin/10001} (adj 1)
W/WindowManager(  985): Looks like we have reclaimed some memory,
clearing surface for retry.
W/SurfaceComposerClient(  985): Destroying surface while a transaction
is open. Client 0x28d390: destroying surface 2, mTransactionOpen=1
W/WindowManager(  985): Due to memory failure, waiting a bit for next
layout
I/ActivityManager(  985): Process com.android.inputmethod.latin (pid
1173) has died.

Any pointers will be of great help.

thanks
YSadhu

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to