react-native-fs icon indicating copy to clipboard operation
react-native-fs copied to clipboard

writing big file in react-native, more than 200mb, Error: Exception in HostFunction: Malformed calls from JS: field sizes are different

Open sam-uraii opened this issue 3 years ago • 0 comments

Premise: I am downloading a 250+MB file from my server and then writing it using react-native-fs.writeFile API but.....

Problem: At the time when I run the API to write the 250+MB content it is throughing ERROR:

Error: Exception in HostFunction: Malformed calls from JS: field sizes are different. [[14,83],[3,0],[[728,100,1661086392041,false]],5077]

At the same time, if I am doing the whole process using just 35 or 50 MB of data and the same code, it's smooth sailing.

Conclusion: Want to write more than 200 MB data in react native app in file system. How to achieve it

sam-uraii avatar Aug 21 '22 13:08 sam-uraii