Garbage collection

fozkulfozkul Member Posts: 27
edited November 2012 in Working with GS (Mac)
Hello there!

As i read from previous posts, the destroy action doesn't clean up any memory usage. I'm kind of confused here. Why do we even need this action if it doesn't clean up the memory then? What is the real purpose of this action? And how does the garbage collection work in GameSalad or does it have a garbage collector?

Thanks for your advice

Comments

  • RPRP Member Posts: 1,990
    Are you currently building an app? If no, don't worry about it until you have a working build and test it on your device. I would not go bananas over memory issues until you hit that wall. If yes, then explain in detail what happens. Their are multiple ways to reduce memory footprints.
  • fozkulfozkul Member Posts: 27
    Hi @RP thanks for the respond!
    Yes I'm currently working on an app. I have a spawner actor that spawns about 20-40 of 4 different actors and I destroy them under some rules. I didn't run a memory test yet since I'm not done with my all levels. Im just worried and I wanted to know if destroying actors free up memory or not, before I implement the all levels. If destroying actors doesn't clean up, I will try using some other approach.
Sign In or Register to comment.