sebapi wrote:
I have windows forms app (C# 2.0) which take about 60MB ram. I noticed
when I minimize it then memory usage drops to about 4MB. When I
maximize it then memory usage is about 16MB and then it is constant.
What is the reason of such behaviour ?
The number you're looking at is almost certainly not memory usage, but
working set. Read a book like Microsoft Windows Internals if you want to
know all the details.
If not, don't worry about it, but do keep this in mind: memory that
isn't being used in some way is being wasted (literally), and
applications that use GC are more efficient (in amortized collection
time) the more memory they use, therefore using more memory means faster
applications.
-- Barry
--
http://barrkel.blogspot.com/