breautek commented on issue #391: URL: https://github.com/apache/cordova-plugin-file/issues/391#issuecomment-631832806
> 4-5 mb below easily writes our problem is not to write large files and errors Hmm, in my apps I frequently write large amounts of data, on average 10-20mb, but I've seen datasets over 100mb. One difference between my app and your app is I write JSON data as a string. It looks like you're writing a blob. These data types could be handled differently. Another important difference is I'm not using the ionic framework. This is where a [pure cordova sample project](https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md) becomes useful. To eliminate the possibility that the problematic code is outside of Cordova's control, and to also pinpoint exactly what the problem is. If the problem is specifcally writing large files, we can quickly generate a large file by using the `fsutil file createnew <filename> <length>` command on windows (requires the administrator console). Or on linux: `dd if=/dev/zero of=output.dat bs=60M count=1` Or on mac: `dd if=/dev/zero of=output.dat bs=1m count=60` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
