Tag Archives: flutter GridView ListView

Flutter GridView ListView Loading Large Image, Message from debugger: Terminated due to memory issue

It looks like the memory management release problem of the flutter itself, even if the image cache is released on the page

The reason is that the old version of flutter has problems in caching and recycling the high-resolution images loaded by GridView and listview components, which leads to the memory explosion and cannot be recycled automatically. It is also impossible to manually turn off the cache and clear the image cache. The official solved this problem in the latest master branch code, and the memory consumption did not fluctuate significantly when loading images

Solution:

 

And I will not merge to the 1.9.1 otfix branch. We can only wait for the latest stable version, or change a version by ourselves