flutter_cache_manager icon indicating copy to clipboard operation
flutter_cache_manager copied to clipboard

stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY

Open KadriyeMacit opened this issue 3 years ago • 1 comments

🐛 Bug Report

It starts to use a lot of memory and the application crashes when switching pages in the bottom bar.

and I got

stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=2098 MB, unused=0x0)

in terminal with physical phone.


I tried to add

  • memCacheWidth parameter
  • ImageCache _imageCache = PaintingBinding.instance!.imageCache!; _imageCache.clear(); _imageCache.clearLiveImages();

but it's not working still.


Flutter version 3.0.0 Dart version 2.17.0

cached_network_image: v3.2.0

Platform:

  • [x] :iphone: iOS
  • [x] :robot: Android

KadriyeMacit avatar Sep 09 '22 15:09 KadriyeMacit

@KadriyeMacit did you managed to solve this issue? Any update?

imajercsik avatar May 15 '23 18:05 imajercsik