Open nivinWorkflowlabs opened 3 weeks ago
Hi @nivinWorkflowlabs Thanks for reporting this!
I finally got around to investigating and it looks like we kept the file in-memory when we didn't need. PR #195 should fix this issue.
If possible, I'd love if you could give it a quick test run before I merge it into main
I'm encountering an issue with the TusKit iOS library where uploads pause when the app goes into the background and automatically resume when it returns to the foreground. To address this, I tried setting the chunk size to
0
, which allowed the uploads to continue in the background. However, this approach caused the app to crash due to high memory usage when uploading files larger than 2GB.Steps to Reproduce:
0
in theTUSClient
initialization.Expected Behavior:
Actual Behavior:
0
due to high memory consumption.Code Snippet:
Environment:
Additional Context:
UploadCommonIosImpl.swift
iOSApp.swift
info.plist