简体   繁体   English

iPhone上的Shark工具崩溃

[英]Shark tool on iphone crashes

I am trying to use Shark to profile my app. 我正在尝试使用Shark来分析我的应用程序。 However, it crashes after I hit "stop" and it analyzes and then goes to "load session". 但是,它在我按下“停止”后崩溃,然后分析然后进入“加载会话”。 Only once when I decided not to select my app but chose to target "everything" did it actually display some trace. 当我决定不选择我的应用程序但选择定位“所有内容”时,只有一次,它实际上显示了一些痕迹。 However, I could not reproduce this case. 但是,我无法重现这种情况。 Does anyone have any idea what might be going wrong? 有谁知道怎么了? Could it be something to do with the wrong version of Shark or my SDK or some other detail? 可能是因为使用了错误版本的Shark或我的SDK或其他细节? I have the latest SDK and am running 3.1.3 on the phone. 我拥有最新的SDK,并且正在手机上运行3.1.3。

The various documentation I've found on google or via Apple's docs don't seem to be terribly helpful, so if anyone has found some that's useful, I'd love to see it. 我在Google或通过Apple的文档找到的各种文档似乎并没有很大帮助,因此,如果有人发现有用的文档,我很乐意看到。 Thanks. 谢谢。

您的采样时间可能太长(或采样率太高)并且内存不足,请尝试缩短采样时间,看看是否有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM