Memory Leaking

Yeah. I just email my ReplaceSceneTest to you.
The cocos2dx is complete the same except the classes in platform/airplay folder.
Intuitively, I guess the bug may be caused by somewhere in the airplay project config.

Ok thanx.
I’m waiting for your email. I still haven’t received it.
Thanks

oops. I paste in the attachment of this post.

So what should be done about the marmalade issue ?
Can you email them and tell them the whole scenario ?

OK - i checked ReplaceSceneTest on marmalade for cocos2d-x…
And yes - I see a popup error box type “heap 0 out of memory” when the layers are swapped.
I do not fully understand the reasons - why this is happening, but the solution for this problem was simple for me -
I do not use MemFlags0 = USE_STACK_ALLOCATOR in file app.icf of this project.
This solved the problem with the popup error box … Walzer - you have good intuition :slight_smile:
I also checked all the tests cocos2d-x in this way - without “MemFlags0” - and everything works fine on my Ipad and MacOS Marmalade simulator …
The next step - you need to check this thing out on the platform of Windows -
if anyone else has access to this platform - please check the operability of the this project:

oops, my presentiment is right? the config in airplay project file…

Hey this was great. I was able to load around 14 1024x1024 sprite sheets and still there was no memory issue.
Thanks guys. :slight_smile:

Cheers for all!

meble łazienkowe

Hello maters!
I want open this post because i have a similar problem.

My cocos2d projects grow of memory all time.

I believed that the problem was mine, but i run a New Cocos project and memory grow all time!
This for phone applications it’s a big problem.

I hope you solution this…or maybe how can i solution this?

Thanks! and sorry for my english:stuck_out_tongue:

PD: I using cocos2d c++ version 3.8.1

Hello @ratghar

I would request you to post your questions in a single thread.
Here’s a duplicate post of yours -

If the problem exists, we will surely reopen the issue.
Thanks for pointing out. :smile: