8

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.

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

1
  • A copy of the error log would help :-) Commented May 17, 2010 at 18:16

2 Answers 2

9

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

... 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: Activity has leaked window that was originally added

Sign up to request clarification or add additional context in comments.

1 Comment

+1 first links a good one, i didnt know all this existed and well integrated with 2.2 and above.
0

I donno what caused you memory leak. But i have suffered from memory leak due to excess of Bitmap object to convert drawable to bitmap..

later used one single Bitmap object to rectify this problem.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.