Recently I tested 4600 apps download from shouji.baidu market and found out 6 apps exist java.lang.OutOfMemoryError. When erros occured, the app force closed. While, this kind of error is hard to reproduce.
Google definition:
Thrown when a request for memory is made that can not be satisfied
using the available platform resources. Such a request may be made by
both the running application or by an internal function of the VM.
By checking crash log, found that most of the errors are caused by imporper use of Bitmap. One crash caused by open too manpy files.
Here are some anyliss and solutions for OOM:Android内存优化之OOM