English 中文(简体)
不久前,如何检查记忆的使用?
原标题:just before release - how to check memory usage?

我们的希望是好的,一切似乎都只是细致的。 我们尽量管理记忆,而我们根本就没有失事。

现在,在释放之前,我要检查一下是否有泄漏,或有些问题可能导致我的遗体拒绝。

Apple果在记忆中有哪些政策? 甚至没有允许小小小小小小小小小小小小小小小小小小小小小小孩? 如果允许,那么限制是什么?

我应使用哪些软件/工具来检查记忆管理/弱点,以确保如果给我带来良好结果,那么我的评估将获得阿片果的核准,即使仅仅不坠毁是不够的?

Is there a guide about one of this tools ?

是否在Siulator的SiOS所有版本中核对我的说法? 我只有1个P-4:

最佳回答

你可以做些什么:

  • Run "Analyze" (MenuBar -> Product -> Analyze or SHIFT+CMD+B) This checks your code for possible leaks and dead stores

  • Run "Profile" (MenuBar -> Product -> Profile or SHIFT+I) This runs Instruments which allows you to track your allocations and possible leaks at runtime.

问题回答

我并不认为存在关于泄漏的具体政策,但漏水方案会发生故障,而 Apple果确实拒绝因坠毁而提供的物品。

否则,我确实同意马齐格·洛卡勒——进行分析,确定一切——如果你怀疑存在任何问题的话,我会进行许多情况分析。

此外,还进行了分析。

在Xcode中有一种称为工具的工具,允许你在申请中专门搜寻记忆泄露。 在你公开文书时,选择莱卡斯语,然后在你的照片中看到任何可能隐藏的记忆泄露。

http://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/FindingLeakedMemory.html”rel=“nofollow”https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/FindingLeakedMemory.html。





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签