Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit On String Size #31

Closed
lovestoprogram opened this issue Aug 14, 2016 · 2 comments
Closed

Limit On String Size #31

lovestoprogram opened this issue Aug 14, 2016 · 2 comments
Labels

Comments

@lovestoprogram
Copy link

Is there a limit on how large an object/string can be for it to be successfully saved? Also, could error code 1 " native write failed" imply that the device is out of memory?

@GillesC
Copy link
Collaborator

GillesC commented Aug 16, 2016

Error code 1 implies that simply the native mechanisms were unable to perform a write to the disk.
I'm unable to give you a more specific answer because the docs of the native mechanisms are unclear about what could be wrong, possible because there are so many different things that could be wrong.

More over size limit see the README. There can't be really one 'static' limit size because all devices are different and the free space on all these devices are also different.

More info:

But note that Cordova itself can be a limited factor on how large data can be when 'sending' it to the native side, and retrieving it from the native side.

@lovestoprogram
Copy link
Author

Thank you for your prompt and detailed response.

@GillesC GillesC closed this as completed Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants