fluttercommunity / fluttercommunity/flutter_uploader

iOS: Terminated due to memory issue

Open
#80 9 comments 0 reactions 0 assignees View on GitHub
bug ios needs more info
Dominant language
Dart
Stars
218
Forks
172
PR merge metrics
No merged PRs in 30d

Description

After uploading one or multiple files the app crashes due to a memory issue. This happens at around 1:30 min. after the upload is started/finished (not sure).

The only log I get is: **Message from debugger: Terminated due to memory issue**

On my iPad it is reproducible 100% of the time.

Commit: dbdc47d33905cc05ae939ab2d5bec2e678923703

My three plist keys are:
FUMaximumConnectionsPerHost: 1
FUMaximumUploadOperation: 1
FUTimeoutInSeconds: 3600

My call:
```
taskId = await FlutterUploader().enqueue(
url: url,
files: [FileItem(path: file.path)],
method: UploadMethod.POST,
data: data,
headers: headers,
);
```

Device Info:
- OS Version: iPhone OS 13.5 (Build 17G68)
- Hardware model: iPad7,5

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.