You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In RNFSManager.m in uploadFiles the new upload job is added to the self.uploaders dictionary. Jobs are never cleaned up and when uploading a large number of large files this will eventually crash the device (as in our case) as it seems the body of the request is retained.
I've confirmed this in xcode's instruments where I see NSMutableData objects being retained that are created from uploadFiles that are persisted and never get cleaned up.
The text was updated successfully, but these errors were encountered:
In
RNFSManager.m
inuploadFiles
the new upload job is added to theself.uploaders
dictionary. Jobs are never cleaned up and when uploading a large number of large files this will eventually crash the device (as in our case) as it seems the body of the request is retained.I've confirmed this in xcode's instruments where I see
NSMutableData
objects being retained that are created from uploadFiles that are persisted and never get cleaned up.The text was updated successfully, but these errors were encountered: