Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
  • Administrators
Posted

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?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

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.

"Never ascribe to malice that which can adequately be explained by incompetence." -- Napolean Bonaparte

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...