I'm making an application and I noticed that it's consuming a lot of RAM, about 70MB. I have a button that inflates an extra layout with random data and that keeps changing dynamically that because of that it increases the memory used in Android.
Looking around I noticed Andorid Hello World already consumes 13MB and it only has a activity
and text.
My question is how can I improve memory usage in the application code? How do I clear the cache or kill an activity? (In my app killing an activity does not solve much)