I found an article on About.com that tells you how you can manage your apps memory.
Here is the code:
procedure TrimAppMemorySize;
var
MainHandle :
This is the moral equivalent of pretending to the operating system that your machine is an permanent state of RAM crisis. The system knows how to manage its memory far better than you do, just let it get on with its job.
It is, sadly, a very common mistake for people to worry when their system is using all of its RAM and all of its CPU. In reality you should be concerned if your system fails to make full use of its resources!