react-native-chunk-upload
react-native-chunk-upload copied to clipboard
Memory error when uploading larger videos
Hey guys, right now I'm able to upload smaller videos with no issues but when I try to upload a larger video ( >1GB ) the app crashes and says "Terminated due to memory issue".
Is there a way around this? I've tried a few different chunk sizes but that didn't seem to help either.
Any help would be appreciated, thanks.
same to me.. the lib not works with large files ;//
yes i am also facing same error. unable to upload more then 400MB file. app crash
yes i am also facing same error. unable to upload more then 400MB file. app crash
issue only appear on real device, it's working fine with simulator. i tested on iPhone7, iPhone8 physical device
I could not found solution for this issue, I tried Amplify form AWS but it dos not works too.. for now I am using a upload in webview, it works for big files, but in android NO.
+1 There are other ways?
+1
It's crashing because this package reads the file to base64 in memory, then saves that base64 into new chunked files. It's extremely inefficient especially for larger files. Expect memory overflow