[MonoTouch] Monotouch issue with Xcode's Instruments

Rolf Bjarne Kvinge rolf at xamarin.com
Thu Mar 22 08:52:47 UTC 2012


Hi René,

Here is a screencast for you: http://screencast.com/t/NUekvWSque5s.

Btw, it looks like the "Memory Tag 70" row has (finally) been renamed to
"GC Image". If you expand that row you'll see the CG instances which uses
memory - you can then go to the Allocations tool and drill into the CGImage
instances created to find out where each instance was created.

I hope this helps,
Rolf

On Thu, Mar 22, 2012 at 8:56 AM, René Ruppert
<rene.ruppert at googlemail.com>wrote:

> Hi Rolf,
>
>
>
> What is the „VM Tracker“ tool?
>
>
>
> René
>
>
>
> *Von:* monotouch-bounces at lists.ximian.com [mailto:
> monotouch-bounces at lists.ximian.com] *Im Auftrag von *Rolf Bjarne Kvinge
> *Gesendet:* Donnerstag, 22. März 2012 01:12
> *An:* Morph268
> *Cc:* monotouch at lists.ximian.com
> *Betreff:* Re: [MonoTouch] Monotouch issue with Xcode's Instruments
>
>
>
> Hi,
>
>
>
> I think you're looking only at the Live Bytes, but they don't tell the
> whole story.
>
>
>
> You need to look at the VM tracker tool, and take heap snapshots there.
> Then you look at the heapshots, and in particular look at the Dirty Size
> column and the Memory Tag 70 row (Memory Tag 70 is image data, which is
> usually where issues are).
>
>
>
> I hope this helps,
>
> Rolf
>
>
>
> On Tue, Mar 20, 2012 at 7:03 AM, Morph268 <angriawan at hotmail.com> wrote:
>
> I am having problem getting the correct memory allocation data on iOS
> application written using MonoTouch.
>
> I wrote a simple application that periodically adds bunch objects to a
> list.
> After I run Instruments on the app; the total memory allocation is peaked
> at
> 2.09MB. This doesn't seem right because I know I allocated more than that.
>
> I kept increasing the number of objects in the list to around 38000
> objects;
> at that time it looks like iOS automatically kill the app because it
> reaches
> the max limit. The reading for total allocation in Instruments is still
> around 2mb.
>
> My question is that is there any setting that I need to set before running
> the instrument.
>
> Things that I would like to mention:
> - I tried to build both Release and Debug.
> - I deployed the app to device and run the instrument against it.
> - I have the latest version of Monotouch and Monodevelop
> - I have XCode SDK 5.1 installed.
>
> Any help is greatly appreciated.
>
> Thank you much, AA
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Monotouch-issue-with-Xcode-s-Instruments-tp4487776p4487776.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120322/a30686c5/attachment.html>


More information about the MonoTouch mailing list