Baseflow / Baseflow/flutter_cache_manager
stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY
- 主要语言
- Dart
- 星标
- 809
- 派生
- 510
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 1
描述
## 🐛 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
贡献指南
调研方向
未指定 repository 文件或测试。首先,使用报告中的 Flutter 和 Dart 版本,在实体 iOS 和 Android 设备上重复复现通过底部栏切换页面的操作,然后调查所描述的 cached_network_image 和 ImageCache 行为。在确定内存增长原因,并验证切换页面不再耗尽内存或导致崩溃后,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, dart, flutter, ios
- 领域
- mobile-dev, performance
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100