# Large Memory Leak

**URL:** https://forum.kirupa.com/t/large-memory-leak/223388
**Category:** flash
**Created:** [April 22, 2007, 2:42am UTC](https://forum.kirupa.com/t/large-memory-leak/223388 "2007-04-22T02:42:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tgjb007](https://avatars.discourse-cdn.com/v4/letter/t/b19c9b/32.png) [@tgjb007](https://forum.kirupa.com/u/tgjb007)
#### Post date: [April 22, 2007, 2:42am UTC](https://forum.kirupa.com/t/large-memory-leak/223388/1 "2007-04-22T02:42:07Z")

</div>

I’ve got a container mc that I’m duplicating and  
loading videos into. I have 15 swf videos I’m loading  
into each mc. Each swf loaded is about 2mb in size  
which equates to 30mb of total loaded swfs.

Each swf contains about 90 keyframes, each with  
one image in a sequence that plays an animation.

After all the videos are loaded there are no other  
movieclips created or duplicated.

I have arrow controls that allow me to rewind these  
videos and fast forward them.

Everything works fine. But I’m noticing now that  
as I rewind / fastworward these swfs my memory  
is being gobbled up. It seems that my memory  
goes up almost per frame that I rewind / fastworward,  
and once the whole animation has played the memory  
plateus, until I start to play one of the other unplayed  
animations.

The only thing I’m doing with the rewind and fastforward  
buttons is just a gotoAndPlay(prev / next frame).

I don’t understand why my memory is being eaten up,  
Seems like if the files loaded are only 30mb then the  
memory shouldn’t be terribly more than that.

Any ideas or help in finding what would be causing the  
memory leak?

Thanks.
