Game Development Community

Memory not freed after objects deletion?

by Mike Moore · in iTorque 2D · 07/14/2009 (9:32 am) · 6 replies

Hello,

It seems that memory is not freed after objects deletion and a certain point (when multiple objects have been created and deleted) the game just quits without any warning. Is this true? I´ve read some threads that confirms this, but I´m wondering if someone has found a solution to solve this problem.

Thanks

Mike

#1
07/14/2009 (12:04 pm)
you can use the memory instruments of xcode to check that
#2
07/17/2009 (8:14 am)
So this is true and will be fixed in version 1.3?

Thanks

Mike
#3
07/17/2009 (8:28 am)
It's unlikely it's an iTGB problem, but it certainly is possible.
#4
07/19/2009 (10:50 am)
If not an iTGB problem, why the recurrent crash after +- 20 minutes?

Thanks,
Mike
#5
07/19/2009 (11:37 am)
Probably something in your code your not cleaning up. You can also test this theory very easily. Put in a script function that creates then deletes objects in a loop to simulate what your seeing. If you can't run that function without it crashing then you've proven it's in iTGB, if you can run it then it's in your code somewhere.
#6
07/19/2009 (5:12 pm)
Thanks Bret,

I will do that.

Mike