Answer the question
In order to leave comments, you need to log in
How to beat out-of-memory bugs?
Good afternoon. I faced such problem. My application downloads pictures from the Internet to my phone and if caching is enabled then it saves pictures to the application's file folder on disk. I looked for examples of an out-of-memory exception for an application and did not find it. Actually, please tell me how you can beat situations when there is not enough RAM or disk space for a cached file (in this case, an image).
Answer the question
In order to leave comments, you need to log in
1. Throw out all the bikes, let the professionals do their job (glide, picasso, fresco)
2. If not, then smoke https://developer.android.com/topic/performance/gr...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question