Memory usage

  • Thread starter Thread starter Shane Story
  • Start date Start date
S

Shane Story

Are dotnet languages just memory hogs or am I doing something wrong.

I have noticed that my program is taking 7MB of ram, and some other simple
programs seem to be taking a lot of ram also.

I wrote a Hello World app that just opens a form, and uses msgbox "Hello
World" in the form load event. It seems to be using 6MB according to
Process Explorer by systeminternals.com.

Is this normal?

If so dotnet apps are pigs. Seems that just a few would bring a system to
its knees.

Thanks,

Shane
 
Shane Story said:
Are dotnet languages just memory hogs or am I doing something wrong.

I have noticed that my program is taking 7MB of ram, and some other
simple programs seem to be taking a lot of ram also.

I wrote a Hello World app that just opens a form, and uses msgbox "Hello
World" in the form load event. It seems to be using 6MB according to
Process Explorer by systeminternals.com.

Is this normal?

Yes.
 
so you are saying that 20 .NET apps all running at the same time would take
almost all my memory on a 256MB machine? And this is acceptable?

Thanks,

Shane
 
no, that is not necessarly the case... .NET uses memory differently then
what task manager is use to.. it will be updated in windows Longhorn to
accomidate this misrepresentation of memory usage in the future. Just
because memory is allocated does not mean it is in use.
 
...NET initialy (i.e. on load ) takes a good amount of memory, and after
that it try to optimize the memory used. For example, it can swap two
process in a single process.

In your example, you just used simple "hellow world" application, and
thats why you are getting fear about the memory used by .net. But, if
yoy see a long term application, you will see such a ratio will not be
exist.

Still, I would like to say, for .NET application, 512 MB of RAM is
suitable for running .NET app. Though I ised to run the same in 256 mb
RAM.

~Himadrish
 
Thanks populate,

That still is a terrible requirement for a simple application.
 
Guess there is no short term solution then.

Any user seeing 40mb for an application is going to think "PIG" and decide
that something else is more efficient. That is what developers face and
especially ISV's

Thanks Brian.
 

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

Similar Threads

memory requirement for DotNet 2005? 5
Memory usage of another application. 1
Visual Basic App Memory Issue 3
Faster XP Machine? 11
Memory Usage 2
Large mem usage. 3
Hi Memory Usage 2
Memory Usage 3

Back
Top