6 Replies Latest reply on Apr 2, 2010 12:15 PM by Marcidus

    Memory leak with spark TextArea


      i've noticed with the append method of a spark TA instance uses a large amount of memory, but oddly, only whilst text is present in the text area.


      for example if you append and then remove all text, the memory is restored, however if left alone, the textarea uses about 1 megabyte every 4-5 appends.


           private function append(type:String, text:String):void {
                  this._textArea.appendText(type + text + "\n");



      what would cause simple text to take up so much RAM?