Hi,
see subject, i think I've cleaned up the popup
i also did a test with a clean (empty) SkinnablePopupContainer.
privateMemory goes up, not eyery time, so i think it can be
destroyed but only sometimes
opened and closed 10 times:
System.privateMemory: 53784576
Thanks,
seems to work when i call gc() on close
but i read that one shouldn't do that and as i understand it shouldn't
be necessary
because if it can be destroyed it will be destroyed
but in fact calling it keeps memory down, not calling it increases memory
Am 06.12.2013 09:35, schrieb
Hi,
seems to work when i call gc() on close
You're assuming that memory is garbage collected frequently rather then when
required and that may not be the case. You're better off using the Flash
Profiler or Scout to check for memory leaks. There should be no need to call
gc() in production
ok, thanks
I still got scout not working on phone (problem with flashdevelop)
but for now i can say if gc() works, the component has no memory leak,
right?
Am 06.12.2013 10:36, schrieb Justin Mclean:
Hi,
seems to work when i call gc() on close
You're assuming that memory is garbage