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