.NET Programs and Memory Size

  • Thread starter Thread starter Serdar C.
  • Start date Start date
S

Serdar C.

hi again, i am writing a program that runs an application in every 1 minute,
my problem is, even its a program that contains less than 100 lines of code,
why does it takes 13mb in my memory? is there a way to reduce its size?
program is running in minimized mode with a notifyicon on taskbar.. thanx
for helpin have a nice day..
 
Serdar,

The memory that you see being consumed is so that the Common Language
Runtime (CLR) can do things such as garbage collection/memory management,
etc, etc. This is typical even for small programs. Also in the memory will
be space needed to load assemblies (everything loads mscorlib.dll, or
practically everything, and then whatever other libraries you reference).

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top