windows Application- Mem Usage

lester

Newcomer
Joined
May 29, 2003
Messages
9
I created a dummy program with just a empty form in vb.net, but when I run the program the mem usage is more that 7mb, why just a empty form require that much of memory to run?
 
Under .Net garbage collection is used to reclaim unused memory. The GC is lazy by design and will only collect memory when there appears to be any benefit in doing so.

Out of interest how much RAM do you have installed in this particular PC? Is 7M really such a large amount for an application compared to your physical RAM?
 
7MB actually sounds a little low. Are you not using Visual Studio to create the application or did you build your application in Release mode?

Remember, you're loading all the necessary .Net Framework libraries. Programming frameworks, like .NET and Java, are not for the minimalists among us.
 
Back
Top