# Videoplayer memory problem

**URL:** https://forum.kirupa.com/t/videoplayer-memory-problem/324235
**Category:** Uncategorized
**Created:** [August 9, 2011, 7:25pm UTC](https://forum.kirupa.com/t/videoplayer-memory-problem/324235 "2011-08-09T19:25:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tyriads](https://avatars.discourse-cdn.com/v4/letter/t/c77e96/32.png) [@tyriads](https://forum.kirupa.com/u/tyriads)
#### Post date: [August 9, 2011, 7:25pm UTC](https://forum.kirupa.com/t/videoplayer-memory-problem/324235/1 "2011-08-09T19:25:35Z")

</div>

Hello,  
I’ve been working recently with Flashdevelop trying to make a decent video player.  
I have put multiple video files in to an array and set them on a loop  
so that each time it plays different file.  
It all worked pretty well until I’ve checked memory monitor and  
I found out that player is step-using more and more memory with each video change.

I couldn’t help but notice that my player is creating multiple instances of the same looped objects. I thought that once these files are cached there wont be such problem but i was wrong.  
does anyone have a clue?
