# \[AS2\] Best practice for releasing memory

**URL:** <https://forum.kirupa.com/t/as2-best-practice-for-releasing-memory/187320>\
**Category:** flash\
**Created:** [April 28, 2006, 9:35am UTC](https://forum.kirupa.com/t/as2-best-practice-for-releasing-memory/187320 "2006-04-28T09:35:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theflash](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/theflash/32/1221_2.png) [@theflash](https://forum.kirupa.com/u/theflash)\
**Post date:** [April 28, 2006, 9:35am UTC](https://forum.kirupa.com/t/as2-best-practice-for-releasing-memory/187320/1 "2006-04-28T09:35:57Z")

</div>

I just wanted to know bout best practices for releasing memory for flash data structures (Mainly when classes are used). What you guys do in general practice and take care?

e.g. I extend a class from MovieClip class and have many data strctures and movieclips within that class. Now when I remove that movieclip will flash automatically remove other children movieclips and data structures? Or I have to remove them for safety…
