写入应用程序内部存储 - 频率限制?
我有一个应用程序,它定期接收文件并将它们保存在内部存储中(即 data/data/app_name/files),通过电子邮件发送它们,最后删除它们。一切工作正常,但我想知道我可以写入内部存储的次数是否有限制。我当前的应用程序重复写入和删除数据 - 这是必需的。使用高速缓冲存储器会更好吗?
预先感谢您的帮助。
I have an application which periodically receives files and saves them in the internal storage (i.e. data/data/app_name/files), sends them via email, and finally deletes them. It is all working fine, but I'm wondering if there is a limit to how many times I can write to the internal storage. My current application repeatedly writes and deletes data - which is required. Would it be better to use the cache memory?
Thanks in advance for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有。最终,闪存单元将会磨损。每天尽量不要进行数万次 I/O 操作,应该没问题。
缓存存储与您已使用的内部存储位于同一内部存储上。
Not really. Eventually, the flash cells will wear out. Try not to do tens of thousands of I/O operations per day, and you should be OK.
Cache storage is on the same internal storage as is the internal storage that you are already using.