I am beginner to Android development. There are several screens in my app and I can navigate back and forth between these screen using "backstack" feature. As I traverse through the app in depth, the memory usage of app is increasing. Sometimes it reaches up to 100 MB..!! It causes app to restart.
As I understand, below may be, possible reasons behind memory overuse:
1) App makes heavy use of images.
2) Backstacking is implemented. (There is only once activity used and other are fragments)
3) There is one background service running continuously for that app.
I am not sure whether these are the actual reasons. Please help me to find out the reasons. Any tips regarding memory overuse problem? One more question, What should be the ideal memory usage of Android app?