watchOS 2 上的最大内存使用量? [英] Max memory usage on watchOS 2?

查看:24
本文介绍了watchOS 2 上的最大内存使用量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有找到有关 watchOS 2 中应用程序可用内存使用情况的任何信息.我​​目前正在为 watchOS 开发应用程序,并且正在手表端使用 Core Data.

当我将 189 个对象中的 166 个加载到数组时,应用程序崩溃,此时内存使用量为 34mb.由于这款手表有 512MB 的内存,我不确定您只使用一个应用程序可以使用多少内存.

我将提高代码的性能和内存使用率,但无论如何我仍然不知道我可以使用多少内存,因为据我所知,Apple Developer Portal 上不提供它.

如果您知道有关此事的信息,我们将不胜感激.

谢谢!

解决方案

尚未记录 WatchKit 应用程序和 WatchKit 扩展的内存使用情况.如需更多详细信息,请访问此技术问答论坛.>

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!

解决方案

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

这篇关于watchOS 2 上的最大内存使用量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆