Baseflow / Baseflow/flutter_cache_manager

stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY

Abierto
#389 1 comentario 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
809
Forks
510
Merge medio
6 min
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, dart, flutter, ios
Área
mobile-dev, performance
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.