Groups | Blog | Home
all groups > dotnet performance > november 2003 >

dotnet performance : Memory usage of a .NET windows forms


Ágúst
11/19/2003 1:34:02 AM
Hi
I have just released a new program within my company. It
is a windows forms application with a webservice at the
backend.
I'm getting questions about the memory usage of the
program, it uses around 30-40 MB. Now, I have heard that
the first .NET program you run on the machine has the
whole CLR behind it, that is the memory amount for that
program includes the memory usage of the CLR, is this
true? Can anyone point me to a good reading material
about the memory usage, some stuff to help me justify
this amount of memory usage of one (rather small and
simple) program?
Ágúst
11/20/2003 12:38:33 AM
Thanks, I'll check your book out.
Regards, AVO
[quoted text, click to view]
Nick Wienholt
11/20/2003 4:09:59 PM
[quoted text, click to view]

If you are looking at the "Mem usage" column in task manager, all .NET
applications have the runtime DLL size included in this figure. These DLLs
are shared across all processes, so the actual hit in terms of RAM filled up
occurs only on the first load.

[quoted text, click to view]

I do about half a chapter on this stuff in my book. I'm not aware of any
other full covers in print, but the topic has been discussed pretty heavily
in this forum for the last two years. The memory usage of the app isn't
excessive at the 30-40 MB size - you take a pretty big working set hit with
webservices.

Nick Wienholt, MVP
Maximizing .NET Performance
http://www.apress.com/book/bookDisplay.html?bID=217
Sydney Deep .NET User Group www.sdnug.org

[quoted text, click to view]

AddThis Social Bookmark Button