C# applications using to much memory

  • Thread starter Thread starter Lucian
  • Start date Start date
L

Lucian

Hi i'm newbie in .NET especially in c#. I must say that
even the most simple application created uses a lot of
memory (almost 10Mb on 256Mb RAM system), and i really
don't know how can i manage this part. Can someone giveme
some answers?
Thank you.
 
Lucian,

This is because memory is needed by the CLR to do things like JIT
compiling and memory management. It is to be expected when running .NET
applications.

Hope this helps.
 
Lucian said:
Hi i'm newbie in .NET especially in c#. I must say that
even the most simple application created uses a lot of
memory (almost 10Mb on 256Mb RAM system), and i really
don't know how can i manage this part. Can someone giveme
some answers?

Yes - basically it's because there's a lot of framework being loaded.
Simple applications will look far too big - but complex applications
won't be *that* much bigger (depending on how much data they actually
use, of course).

Think of it this way: 10Mb on a 256Mb system is the equivalent of about
300K on an 8Mb system - and when 8Mb was common, 300K wasn't seen as
being particularly excessive, was it?
 

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