lester Posted February 24, 2006 Posted February 24, 2006 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? Quote
Administrators PlausiblyDamp Posted February 24, 2006 Administrators Posted February 24, 2006 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? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
VagabondSW Posted February 24, 2006 Posted February 24, 2006 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. Quote "Never ascribe to malice that which can adequately be explained by incompetence." -- Napolean Bonaparte
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.