Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / November 2003

Tip: Looking for answers? Try searching our database.

Memory usage of a .NET windows forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ágúst - 19 Nov 2003 09:34 GMT
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?
Regards, AVO
Nick Wienholt - 20 Nov 2003 05:09 GMT
> 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?

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.

> 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?

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

> Hi
> I have just released a new program within my company.  It
[quoted text clipped - 10 lines]
> simple) program?
> Regards, AVO
Ágúst - 20 Nov 2003 08:38 GMT
Thanks, I'll check your book out.
Regards, AVO
>-----Original Message-----
>> the first .NET program you run on the machine has the
[quoted text clipped - 39 lines]
>
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.