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 last couple days I was debugging our application for out-of-memory failures on iPhone 10 and iPad 6 (both using iOS 15 or iPad OS 16).
We got messages like this:
While this might be a common issue on pages which have lots of pictures which are not cached correctly, we eliminated such issues first. We also suspected other kind of problematic async code parts to be at fault, but what was bugging me is that we suddenly overshoot in memory by GB not MB. This was not really visible in the memory debug view and its pain to find out whats going wrong.
On newer devices e.g. iPhone 11 there were no crashes. The same holds true for the emulated devices. Only a real iPhone 10 or an iPad 6 was crashing.
It seems to be related to gif loaded. It crashes for a 1.8mb gif but doesn't e.g. for a 94mb gif.
I'll ask for permission to upload the gif here as well. If I receive it, then I'll upload it to this issue.
Maybe it is also not wise to use an unmaintained <0.1.0 library for anything else than testing 😅
The text was updated successfully, but these errors were encountered:
Hey there 👋
The last couple days I was debugging our application for out-of-memory failures on iPhone 10 and iPad 6 (both using iOS 15 or iPad OS 16).
We got messages like this:
While this might be a common issue on pages which have lots of pictures which are not cached correctly, we eliminated such issues first. We also suspected other kind of problematic async code parts to be at fault, but what was bugging me is that we suddenly overshoot in memory by GB not MB. This was not really visible in the memory debug view and its pain to find out whats going wrong.
On newer devices e.g. iPhone 11 there were no crashes. The same holds true for the emulated devices. Only a real iPhone 10 or an iPad 6 was crashing.
To reproduce please use this flutter application:
It seems to be related to gif loaded. It crashes for a 1.8mb gif but doesn't e.g. for a 94mb gif.
I'll ask for permission to upload the gif here as well. If I receive it, then I'll upload it to this issue.
Maybe it is also not wise to use an unmaintained <0.1.0 library for anything else than testing 😅
The text was updated successfully, but these errors were encountered: