Xcode Instruments中的总字节数达到1 GB就可以了吗? [英] overall bytes in Xcode Instruments reaches 1 GB is that ok?

查看:157
本文介绍了Xcode Instruments中的总字节数达到1 GB就可以了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的问题。

我试图使用xcode中的Instruments检查我的分配部分。
我正在使用 CGImageSourceCreateThumbnailAtIndex 进行一些图像裁剪应用程序来处理图像。在完成这个过程的过程中,它会占用大量内存,而且以正确的方式释放

I tried to check my allocation part using Instruments in xcode. I am doing some image crop Application using CGImageSourceCreateThumbnailAtIndex for processing the images. while doing the process it is taking to much memory and i released it in right manner.

在仪器中实时字节是1.56Mb, #living = 22,862,总字节数达到1.11Gb之后也会增加。

In Instruments the live bytes is 1.56Mb , #living = 22,862 and Overall bytes reaches 1.11Gb after that also it will increase.

此应用程序无法在ipad1中运行。我手边没有ipad2或3来测试应用程序。

This application is not working in ipad1. i dont have ipad2 or 3 in hand to test the application.

在图像中有一些高峰点。那时 Live Bytes 达到73MB。它将被释放。 ipad 2会处理这个高峰吗?

In the image some peak points are there. At that point Live Bytes reaches 73MB. and it will be released. will ipad 2 handle this peak ??

任何人都可以告诉这会导致设备出现任何内存问题。

Can anyone tell this will cause any memory Problem in device.

总字节数如何。是否有任何限制?

How about the overall bytes. is there any limit for this?

推荐答案

是的,因为总字节数只是EVER分配的字节数。

yes since overall bytes is just the number of bytes that were EVER allocated.

应用运行的时间越长,no越高。

The longer the app runs, the higher the no.

这篇关于Xcode Instruments中的总字节数达到1 GB就可以了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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