Memory usage problem.. please help

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