# Memory usage problem.. please help

**URL:** <https://forum.kirupa.com/t/memory-usage-problem-please-help/151576>\
**Category:** Uncategorized\
**Created:** [June 16, 2005, 1:35pm UTC](https://forum.kirupa.com/t/memory-usage-problem-please-help/151576 "2005-06-16T13:35:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![albert105](https://avatars.discourse-cdn.com/v4/letter/a/c0e974/32.png) [@albert105](https://forum.kirupa.com/u/albert105)\
**Post date:** [June 16, 2005, 1:35pm UTC](https://forum.kirupa.com/t/memory-usage-problem-please-help/151576/1 "2005-06-16T13:35:23Z")

</div>

Hi,

I’m working on an application which loads a new xml file  
(which is around 7 kb) every second. When I monitor my  
RAM memory usage it is expanding every time a new file  
is loaded and the data is processed. This goes on and on  
untill the memory is completely full.

Is there a way to flush the memory?.. all the previous  
loaded xml files are not important to the application once  
they are processed…

thanks
