检查内存分配,使用仪器工具进行泄漏 [英] Inspecting memory allocation,leaks using Instruments tool

查看:83
本文介绍了检查内存分配,使用仪器工具进行泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如许多人所建议的那样,仪器工具是捕获内存分配和泄漏的最佳方法.但是对我来说,它是易于使用的工具工具,但是我对上面截图中的详细结果感到困惑.

As suggested by many,instruments tool is the best way to capture the memory allocation and leaks.But for me its been easy to use instruments tool,but i am confused with the detailed results as shown in the above screenshot.

想知道以下几点的含义, 1)所有分配, 2)Live Bytes, 3)总字节数 4)总体.

Want to know the meaning of following points, 1)All Allocations, 2)Live Bytes, 3)Overall Bytes, 4)Overall.

简单但令人困惑!任何答复将不胜感激.

Simple but confusing!Any answer will be greatly appreciated.

推荐答案

活动字节:已分配但尚未释放的字节数.
生存:*创建并仍在堆中的对象数.
暂时性:创建和销毁的对象数
总字节数:已分配和释放的总字节数
overall
:分配和释放的对象总数.
所有分配:应用程序运行时的所有分配.

live bytes: The number of bytes that have been allocated but not released yet.
Living:*The number of object created and still on the heap.
Transitory: The number of objects created and destroyed
Overall byte: The total number of byte that have been allocated and released
overall
:The total number of objects allocated and released .
all allocations: All the allocations while the application is running .

这篇关于检查内存分配,使用仪器工具进行泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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