-
Notifications
You must be signed in to change notification settings - Fork 942
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
iOS App storage (documents and data) keep increasing #330
Comments
I found that it would decrease after a few days. But there's no way to manually clean it. Reboot won't clean it. |
Check your temp directory, this could be the system cache of the mlmodel that gets created during specialization. |
@ZachNagengast i am noticing the same thing, used the app a few times and the app size in "documents and data" is over 10gb, keeps increase each time i boot up the app -> the increments are equivalent to the model size. I have downloaded the container from Xcode using "windows" menu - > "Devices and simulators" to inspect the caches and temp files, and they only contain files a few mb in size. I have tried to programmatically clear the temp directory and the caches, but doesn't seem to change the value in the "documents and data". Any thoughts? |
@ZachNagengast @chn-lee-yumi - After some further digging around, this appears to be an issue with using ANE.
This behaviour appears to occur in other apps that use ANE - https://developer.apple.com/forums/thread/751805. There is a clearly an issue with using Apple neural engines, this looks like a big, and whilst it doesnt impede the functioning of the app, and the "documents and data" size does not correspond the to real app size, it will probably make a user delete the app if they see a false size of 10gb. Any help for a fix would be appreciated since clearing caches, temp folders etc etc does not reduce the app size in "documents and data" Let me know if you need any further info/help in debugging the issue |
Each time when I recompile my project and run it on my iPhone, the "documents and data" part of the APP will increase, and the size of the app seems to increase by the same size as the CoreML model. This space won't release even when I uninstall the APP. After a few times, the "documents and data" of my APP now use more than 15GB. I don't know how to release this space and my iPhone storage is full too.
I found a similar issue here: https://developer.apple.com/forums/thread/751805
The text was updated successfully, but these errors were encountered: