My app is crashing after longer use - runs out of memory.
I am closing all activities after switching to next one, but I still have that problem.
Is it possible to programmatically clear cache / memory, so application does not run out resources?
Can I use getCacheDir() to accomplish that?
Asked
Active
Viewed 5,203 times
0

Peter
- 909
- 1
- 9
- 9