I noticed when I minimize my application the amount of memory used (I see it in TaskManager) drops a lot. If my application uses 15 MB before, after minimizing it uses only 1-2 MB. And if I restored it works fine, no variable is lost. I checked that with couple of programs and all seem to have the same "problem" (Paint, Explorer, Visual c++ 6). I tried to destroy every variable I don't need, but the amount of memory my application uses doesn't drop as I expected.
Could someone explain to me why is this happening?
Could someone explain to me why is this happening?