Baseflow / Baseflow/flutter_cache_manager

iOS Consume more memory than Android

Open
#432 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 💬 Questions and Help

I'm trying to download 20 images from the server, which is just 17 MB in total. However, the RAM uses up to about 200 MB in iOS, whereas on an Android device, it only uses 100 MB. I'm downloading each image using the download method.

```
final futures = collections.map(
(e) => DefaultCacheManager.downloadFile(
e.url,
key: e.id,
),
);
await Future.wait(futures);
```

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are identified. Start by reproducing the download of 20 images with DefaultCacheManager.downloadFile and compare iOS and Android memory usage; done means identifying and documenting a reproducible cause or fix for the reported platform difference.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.