# Garbage Collection on Textfields?

**URL:** <https://forum.kirupa.com/t/garbage-collection-on-textfields/322277>\
**Category:** flash\
**Created:** [May 17, 2011, 12:03am UTC](https://forum.kirupa.com/t/garbage-collection-on-textfields/322277 "2011-05-17T00:03:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Black\_Drazon](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Black\_Drazon](https://forum.kirupa.com/u/Black_Drazon)\
**Post date:** [May 17, 2011, 12:03am UTC](https://forum.kirupa.com/t/garbage-collection-on-textfields/322277/1 "2011-05-17T00:03:53Z")

</div>

I’m running Flash CS4 and compiling a project for Flash 10, at least for the time being. The short of my question is this: do TextFields have a memory leak? I was trying to track down leaks in my code (my code is a morass of comments and virtually - no, scratch that, with the exception of the below, _nothing_ is actually running) and couldn’t help but notice that every time my placeholder visuals (squares with “Idle0”, “Idle1” written on them in text fields) animated, I would lose memory like someone had jabbed a hole in my code! Even stop()-ed, the three text fields I have on/off screen seem to cost me a few kilobytes every few frames or so - depending on what I’m doing - compared to a sprite with poor mockups I did to help track this down.

Obviously I’m not going to go live with placeholders but I just want to be sure I’m reading the situation right. Leaky TextFields?
