Hi there,
I'm close to wrapping up my game and decided to take a look at leaks and object allocations.
I've ran into something and I'm not too sure.
My game starts up, intro scene, then menu scene.
If I look at the object allocations, the "net bytes" keep going up, steadily, not by much, but it keeps growing.
The block is called "GeneralBlock-56", and if I open it up I see a bunch of calls to "CAImageQueueCollect" from QuartzCore.
If I click on one of those, it seems to originate from the swapBuffers in EAGLView.
I've attached a screenshot so you can have a look.

Is this a leak?
If not, what is it?
Why is memory increasing constantly?
If I leave it to run it just keeps eating up memory, and I presume would eventually crash.
Any ideas into what I'm doing wrong?
Thanks!
Is this a leak?
(5 posts) (2 voices)-
Posted 2 years ago #
-
That is "every object ever created" mode....
What does "Created and Still living" indicate?
Posted 2 years ago # -
Ah, what an idiot I am.
Still, if I select "created and still living", it increases at the same pace.Posted 2 years ago # -
I don't know what I'm looking at.
If I run Instruments with the Activity Monitor and show the physical memory being used, it only increases when loading the game/textures, then stays stable throughout.
So, presumably, there is no memory increase.
I feel silly now.
:)Posted 2 years ago # -
I got a similar allocation while running my slide show... which is still doing something funky with FPS, so I assumed that increasing allocations were "bad"
Posted 2 years ago #
Reply
You must log in to post.