English 中文(简体)
《Leaks文书》中的肤色和百分比是什么意思?
原标题:What do the colors and percentages mean in the Leaks Instrument?

我正在用X密码对我的小规模应用进行分解(寻找记忆泄漏)。 我从文书中利用Leaks。 如果出现泄漏,我可以点击一个方法名称,而我看到泄漏地点有标识的来源。 ok。 然而,我对来文方的看法有两个问题:

  1. 标识线的color意味着什么? 一些线是轻型紫外线,有些线是黑暗的紫外线。

  2. 相对于记忆泄露而言,的数值是多少? 10%、80%、100%意味着什么?

最佳回答

https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/InstrumentsUserGuide.pdf"rel=“noretinger”>。

关于您的问题。 :

The Detail pane (while it is in Table mode) displays other useful information to help you spot potential allocation issues. The net versus overall allocations column of the table shows a histogram of the currently active objects and the total number that were ever created. As the ratio of net allocations to overall allocations shrinks, the color of the histogrambar changes. Blue histogrambars represent a reasonable ratio while colors shifted towards the red spectrum represent lower ratios that might warrant some investigation

关于您的问题。 :

The Leaks instrument examines a process’s heap for leaked memory. You can use this instrument together with the Allocations instrument to get memory address histories. This instrument requires that you launch a single process so that it can gather data from the start of the process. This instrument captures the following information:

  • The number of leaks
  • The size of each leak
  • Address of the leaked block
  • Type of the leaked object

Each view mode in the Detail pane shows the leak data in a slightly different way. In table mode, this instrument shows the individual leaks along with the percentage that each individual leak contributes to the total amount of leaked memory discovered. In outline mode, the data is reorganized so that you can see how much memory is leaked from within a given symbol. For entries in eith

问题回答

暂无回答




相关问题
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 ...