Here's what the logcat looks like:
10-05 10:18:50.357: ERROR/SurfaceFlinger(1086): createSurface()
failed, generateId = -12
10-05 10:18:50.357: WARN/WindowManager(1086): OutOfResourcesException
creating surface
10-05 10:18:50.357: INFO/WindowManager(1086): Out of memory for
surface! Looking for leaks...
10-05 10:18:50.357: WARN/WindowManager(1086): No leaked surfaces;
killing applicatons!
10-05 10:18:50.357: WARN/ActivityManager(1086): Killing processes Free
memory at adjustment 0
10-05 10:18:50.365: WARN/ActivityManager(1086): Killing
ProcessRecord{44949158 16303:com.quickdroid/10064} (adj 0): Free
memory
10-05 10:18:50.365: WARN/WindowManager(1086): Looks like we have
reclaimed some memory, clearing surface for retry.
10-05 10:18:50.365: WARN/WindowManager(1086): Due to memory failure,
waiting a bit for next layout
Note that the PID is 1086 so it's happening in some background thread.
The thing is, I don't know what class calls the createSurface method
so I'm having trouble catching the exception before it can kill the
process. Any ideas?
--
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