公告
财富商城
积分规则
提问
发文
2019-04-28 18:22发布
手持菜刀,她持情操
I want to test our app for low memory cases.
Do you have any ideas, how to cause onLowMemory on devices?
Thank you.
I just know only one way to do, which is to create a method running in a different thread that does memory leak, make it loop continuously until onLowMemory() is called, then stop the thread.
onLowMemory()
It's nice if anyone shares experiences on this case!
最多设置5个标签!
I just know only one way to do, which is to create a method running in a different thread that does memory leak, make it loop continuously until
onLowMemory()
is called, then stop the thread.It's nice if anyone shares experiences on this case!