Volley framewok request keeps objects in memory

感情迁移 提交于 2019-11-29 18:11:08

NetworkDispatcher has only 4 threads by default so i think your problem is caused by creating multiple requestqueue and old threads dose not killed, use singleton queue, for refering to that look at:

http://developer.android.com/training/volley/requestqueue.html

each request queue has only 4 threads but in your image i can see more than 4 so obviously your problem caused by not using singleton design pattern.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!