跟踪在Android上的内存/窗泄漏?内存、Android

2023-09-06 02:04:30 作者:除ㄋ尓、峩誰都卟娶

如何跟踪在Android的发展中的内存泄漏?我工作的Eclipse IDE开发应用程序。我无法找出如何纠正内存或窗泄漏例外?任何想法。

How to trace the Memory Leaks in Android Development? I am working on eclipse IDE to develop the application. i cant find out how to rectify the memory or window Leaks Exceptions? Any Idea.

主要泄露错误窗口提高了非法参数异常?如何纠正这两种OG这一点。请帮助。

Mainly the Window Leaked error raises the Illegal Argument Exception? how to rectify both og this. Please Help.

推荐答案

如果你真的想知道如何跟踪内存泄漏在一般情况下,这个工作真的很适合我:

If you really want to know how to trace memory leaks in general, this worked really well for me:

的http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html

...虽然,它几乎听起来就像你有一个具体问题,具体情况例外,那你不感兴趣的追踪内存泄漏。听起来像是你有同样的问题,因为这:http://stackoverflow.com/questions/2850573/activity-has-leaked-window-that-was-originally-added

... though, it almost sounds like you have a specific problem with a specific exception, and that you're not interested in tracing a memory leak. Sounds like you have the same problem as this: http://stackoverflow.com/questions/2850573/activity-has-leaked-window-that-was-originally-added