When we launch our program under Windows 2000 the commit charge memory value goes up by over 1Gb. Then, when a file is opened it goes up a little more and even when the file is closed the memory never gets released. I have monitored this in the 'Processes' window in Windows Task Manager.
Then, even more worryingly when the program is exited the commit charge value only goes down by 800Mb, thus resulting in a 'memory leakage' of over 400Mb. Windows XP seems to have got rid of the memory leakage problem as the commit charge value drops immediately the program is exited.
It has been explained to me by our developers that the huge amount of 'commit' memory is down to the big arrays which are defined when the program is run, but over 1Gb sounds like a lot to me.
Does anyone else have any such experience and is there a purge memory function we should be running?
Thanks in advance.





