I have developed a widget in Android and it uses too much RAM (over 30 MB). What can it be that takes up so much memory? The widget is a clock and weather widget that uses different skins (saved as drawables).
Thanks
It's hard to say could be a lot of thing. But lucky for you Android DDMS has a Allocation Tracker, that might help you solve your problem.
http://developer.android.com/guide/developing/debugging/ddms.html
You can also using plugin Memory Analyzer tool
Detail you can refer:
Another good document guide how to well design layout for widget:
http://developer.android.com/training/improving-layouts/optimizing-layout.html