My app is composed of one fragmented activity and one service. Also a few receivers, connection to in-app billing (activity only) and a few other things. I'm also using app-compat-v7 for fragments and action bar.
When I look at the app under running apps activity (just the service is running), it reports a whopping 27 MB. Memory analyzer shows that those are pretty much contained in resource cache: bitmaps, strings, reflection data, DexCache, etc. Note that service itself pretty much MAYBE needs a string or two plus a couple of bitmaps for notification and widget, but definitely not that much.
The service with all its classes, notifications and widgets takes only 120KB while the rest takes 27MB. The package itself is 1.4MB without ProGuard.
I have searched repeatedly for a good solution, but nothing comes up that would help me with this.
How can I make my service consume less memory?