Here is the story: I run my app from Eclipse and let say it uses 20 MB of RAM in Task manager.
Then I close my app using "Back button".
I check in Task manager and processes that my app is closed.
Now I run my app again from phone but now it will use 32 MB.
I close my app and run it again from phone and it will use 45 MB of RAM and this will continue for every restart.
It will add ~ 12 MB on every start.
If I run my app from Eclipse it will reset back to 20 MB.
I'm using MyApp to store some non static data and a SQLiteDatabase:
public class MyApp extends Application {
}
I can see that even If I close my app with back btn my apllication will remain in active processes.