Baseflow / Baseflow/flutter_cache_manager

stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY

Aperta
#389 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
809
Fork
510
Merge medio
6m
PR unite (30g)
1

Descrizione

## 🐛 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

No repository file or test is named. Start by reproducing repeated bottom-bar page switches on a physical iOS and Android device using the reported Flutter and Dart versions, then investigate the cached_network_image and ImageCache behavior described. Done means identifying the memory growth cause and verifying that page switching no longer exhausts memory or crashes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, dart, flutter, ios
Ambito
mobile-dev, performance
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.