Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

I started a new project and without chaging any form property, without coding anything, I just build the exe and it's process on the task manager was about 14.XXX Kb isn't that too much? I'm asking this, because I'm coding a simple app wich creates/reads/writes texts files and has a few options, 2 forms, nothing much, simple thing and it has about 16.XXX Kb of memory usage, sometimes goes lower, I think I saw it around 10/11.XXX Kb one time, I think it was on Release instead of Debug. Nevertheless, isn't too much?

Posted
Nevertheless, isn't too much?
I don't think so. I believe what you are obseving is the cost of the .NET CLR.
Never ascribe to malice that which is adequately explained by incompetence. - Napoleon Bonaparte
  • Administrators
Posted

.Net handles memory through a process called Garbage Collection. The GC is lazy by design and will not attempt to reclaim memory if there isn't a need, and it tunes this to the system it is running on.

How much RAM is in the system you are running your app on?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

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...