Avoid Out-Of-Memory Problems in Android

It’s Java so you don’t need to worry  – the garbage collector ‘just does it’, right?

NOT!

java.lang.OutOfMemoryError: Bitmap Size Exceeds VM Budget is a common error and don’t we know it!  The garbage collector isn’t totally magic and no guarantee that your app cannot / will not leak memory.  There are various deliberate approaches / considerations that should be taken to avoid memory problems: Continue reading “Avoid Out-Of-Memory Problems in Android”