Baseflow / Baseflow/flutter_cache_manager

FileSystemException: Cannot open file OS Error: Too many open files, errno = 24)

未关闭
#481 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
1

描述

## 🐛 Bug Report

### Expected behavior
Load image list

### Reproduction steps
More image cache lists are loaded at the same time

### Configuration

**Version:** "3.4.1"

**Platform:**
- [x] :iphone: iOS✅
- [ ] :robot: Android
error
```
FileSystemException: Cannot open file, path = '/var/mobile/Containers/Data/Application/OI897JGR-7196-OI897-B008-OI897JGR/Library/Caches/libCachedImageData/9d864c1c4ef0.jpg' (OS Error: Too many open files, errno = 24)
```

贡献指南

打开贡献指南

调研方向

首先,在同时加载多个图像缓存列表时,复现针对版本3.4.1所描述的 iOS 失败。跟踪与报告的 libCachedImageData 文件关联的 cache-manager 路径,并确定在哪个位置超出了打开文件数限制。完成标准是:在并发加载缓存期间,图像列表能够加载且不会出现 errno 24 异常。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, flutter
领域
mobile-dev, performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。