# Cache (xml) problem or memory leak? Pls help

**URL:** https://forum.kirupa.com/t/cache-xml-problem-or-memory-leak-pls-help/301098
**Category:** Uncategorized
**Created:** [December 3, 2009, 1:54pm UTC](https://forum.kirupa.com/t/cache-xml-problem-or-memory-leak-pls-help/301098 "2009-12-03T13:54:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)
#### Post date: [December 3, 2009, 1:54pm UTC](https://forum.kirupa.com/t/cache-xml-problem-or-memory-leak-pls-help/301098/1 "2009-12-03T13:54:32Z")

</div>

[SIZE=3][FONT=Times New Roman]Hi there…[/FONT][/SIZE]  
[SIZE=3][FONT=Times New Roman]I am having a problem with my action script code.[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]In my AS script I have a “refresh” function that I read, again, a xml and display the text on my screen.[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]This refresh function is called every 15 seconds. The script is supposed to run 24/7.[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]My task manager in windows is showing me that at every “refresh” from my script, the memory increases. So, looks like I have a memory leak.[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]I delete ALL variables that I created every time I refresh the script, but still increasing the memory in my Task Manager.[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]Is it an xml cache problem or still some kind of memory leak?[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]Thanks.[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT][SIZE=3][FONT=Times New Roman]Cheers.[/FONT][/SIZE]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT][SIZE=3][FONT=Times New Roman]Leo.[/FONT][/SIZE]
