You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem appears when I close and re-open the app, a crash happens because of an out of memory error. This error always happens at init function, when running the user information at the stage of loading the navigation drawer background photo.
I think that it is possible that a reason for the crash is allocating too much memory for the Bitmaps.
I think 2 steps might help here:
Dispose allocated memory with nulling the pointer in "onStop()"
The problem appears when I close and re-open the app, a crash happens because of an out of memory error. This error always happens at init function, when running the user information at the stage of loading the navigation drawer background photo.
I think that it is possible that a reason for the crash is allocating too much memory for the Bitmaps.
I think 2 steps might help here:
The following docs can help here:
which also mention to "Avoid wasting memory with bitmaps".
The text was updated successfully, but these errors were encountered: