# Memory Usage / Performance

**URL:** <https://forum.kirupa.com/t/memory-usage-performance/267990>\
**Category:** flash\
**Created:** [August 7, 2008, 9:33pm UTC](https://forum.kirupa.com/t/memory-usage-performance/267990 "2008-08-07T21:33:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gstewart](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@gstewart](https://forum.kirupa.com/u/gstewart)\
**Post date:** [August 7, 2008, 9:33pm UTC](https://forum.kirupa.com/t/memory-usage-performance/267990/1 "2008-08-07T21:33:44Z")

</div>

HI folks,

I am loading a xml file into my .fla with a list of image urls and load that info into an array.

I am looping through the array and dynamically create a new movieclip, load the image using the MovieClipLoader() and tween it across the screen (TweenMax) and onComplete of my tween I remove it via removeMovieClip().

I’ve traced the movieclip after removal to make sure it’s gone and it is.

So here’s my problem, the whole thing runs fine for 5 - 10 minutes and then gradually my FPS goes down until I am at like 2 - 3 fps after 30 minutes.

I am not sure where the problem is, I am pretty sure I am removing the dynamically created movieclips, so they should be gone from the memory.

Anything else you can think of?
