Is it normal for Object Allocations in Instruments to show "Net Bytes" constantly growing even my scene does nothing? I didn't pay much attention to this until now, but all apps I made without Cocos2D didn't show this behavior. I am no OpenGL expert, but I suppose it's something about it, because it seems that with every draw, net bytes are increasing...
Object Allocations in Instruments?
(5 posts) (2 voices)-
Posted 2 years ago #
-
Anybody?
Posted 2 years ago # -
Hi!
I don't have it at hand but i think that by default it shows ALL allocations, so it will increase constantly because it includes every object created, even if it was later destroyed... Try checking the other option, i think it was something like "objects created and still living" and check if it is really increasing.Posted 2 years ago # -
Both options show the same. I thought "Net bytes" should stop growing when nothing new is allocated, but in my case it never stops increasing... Can somebody confirm that this is normal behavior or not? Thanx
Posted 2 years ago # -
Just checked Instruments with Simulator and everything works as expected, "net bytes" stop at some point when no new objects are allocated. So it's something with iPhone. Right now I am on OS 3.0, and can't recall if same happened on OS 2.2.1
Posted 2 years ago #
Reply
You must log in to post.