Try to reduce memory impact by deleting used chunks

This commit is contained in:
Stefano Brilli 2020-03-24 19:43:44 +01:00
parent b634772f2d
commit a6f5280de5
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ export function convertAndUpload(files: File[], format: string) {
let j = 0;
while (j < converted.length) {
yield await converted[j];
delete converted[j];
j++;
}
};