Quote:> Hello all,
> Does anybody hasobserved that when we run the .NET application, in the
> Windows's Task
> Manager (under process's tab), it shows memory size of application very
> large but
> when we first time minimize the application and maximize it then the size
> of the apllication is reduced by half.
> What does the application gain when first time we minimize it ? Which
> acquires when we run it & which memory it releases when we minimize
> first time?
This is typical of Windows apps, but is amplified by .NET. When the app
starts its DLLs are loaded too and these are paged into physical memory.
When you minimize the app all the DLLs are paged to virtual memory (disk),
and when you restore only those DLLs that are actually needed at that point
in time are paged back into physical memory. Of course, as you run the app
you'll find that the other DLLs maybe paged back into physical memory.
There's more details here