-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
After approximately 35,000 consecutive uploads, the program reported an error of "Too many open files" and then crashed on Android device.The problem exists in both version 2.0.7 and 2.0.5, and I have not tried other versions.
test code :
for (int i = 0; i < 40000;i++) {
try {
print('start connect i:$i');
await _ftpConnect.connect();
print('start upload i:$i');
await _ftpConnect.uploadFile(file);
print('upload finished i:$i');
await _ftpConnect.disconnect();
} catch (e) {
print(' i:$i Error: ${e.toString()}');
}
}
Metadata
Metadata
Assignees
Labels
No labels