How to detect memory leak

前端 未结 3 1430
[愿得一人]
[愿得一人] 2021-02-04 16:06

I faced some issues related to MemoryOutOfBounds exception in android. I found There are two reasons behind this

(1) Thread created are alive and not destroyed anywhere

3条回答
  •  没有蜡笔的小新
    2021-02-04 16:37

    You can have a look at the following links regarding how to avoid memory-leaks:

    • http://android-developers.blogspot.co.uk/2009/01/avoiding-memory-leaks.html
    • http://www.ibm.com/developerworks/java/library/j-leaks/
    • http://www.mindfiresolutions.com/How-to-avoid-Memory-leak-issue-in-Java-1001.php

提交回复
热议问题