Max memory usage on watchOS 2?

亡梦爱人 提交于 2019-12-31 06:54:41

问题


I didn't find anything regarding the memory usage availavable for an app in watchOS 2. I'm currently developing an app for watchOS and I'm using Core Data in the watch side.

When I load 166 of 189 objects to an array, the app crashes, the memory usage at that point is 34mb. As the watch has 512mb of memory I'm not entirely sure how much can you use with just one app.

I'm gonna improve my code's performance and ram usage but eitherway I still don't know what amount of memory can I use as it's not availavable on Apple Developer portal as far as I know.

Would appreciate information regarding this matter if you know.

Thanks!


回答1:


Memory usage for WatchKit Application and WatchKit extension is not documented yet . For more detail visit this technical Q&A forum .



来源:https://stackoverflow.com/questions/34798771/max-memory-usage-on-watchos-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!