I recently discovered that the reason behind our App crashing consistently after running for some minutes is the removeChild() function that doesn’t quite seem to do its job.
Here is a simple class that on each frame adds and removes a bunch of sprites, onto those sprites I paint some rectangles with different alpha values. There are no references that I store, so GC should free the sprites up after I remove them from the stage, but instead the memory used creeps up to 1-2GB within a few seconds. Just to make sure that GC is actually triggered there is also the possibility to clear the screen and then trigger GC by clicking onto the stage, but that doesn’t free up the memory used either.
Thanks in advance for any help.