Hello All,
I have been a dabbling into delphi off and on for years and I have always wondered why does minimizing and restoring an application cause it to use less memory ?
As an example I am using delphi 7 and I create a new project with nothing on it but the blank form all projects start out with and then I press F9 to run the application and then look at the memory usage for the app and it's sitting at around 3.5mb I then minimize the app and the memory usage goes down to around 760kb and then I finally restore the app and the memory usage goes back up to around 1.5mb which is roughly 1/2 of what it was when it first loaded and this has always confused me as to what is making this happen and even more to the point is there anyway to start the application with some directive that makes it use the 1.5mb of memory instead of the 3.5mb it normally uses.
Cheers, Dave