# Memory problem in flash

**URL:** <https://forum.kirupa.com/t/memory-problem-in-flash/169427>\
**Category:** flash\
**Created:** [November 16, 2005, 8:59am UTC](https://forum.kirupa.com/t/memory-problem-in-flash/169427 "2005-11-16T08:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superprg](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@superprg](https://forum.kirupa.com/u/superprg)\
**Post date:** [November 16, 2005, 8:59am UTC](https://forum.kirupa.com/t/memory-problem-in-flash/169427/1 "2005-11-16T08:59:32Z")

</div>

Hi  
I am on this frame where I am drawing graph inside scrollpane.  
I am drawing each point after 1 second interval using setInterval.  
When the graph has run for more than 3 minutes and I switch to other frame using “Start New” it takes 5 or more seconds for flash to do so.  
By this time Task manager shows using more than 98% memory  
Is it because the movieclips inside the frame where graph is drawn is not destroyed? If yes, how can I do that?  
Also, can I set the scrollpane content to be empty at the press of the button?
