Re: Large Memory Footprint for Simple .NET Apps

From: Tom (junkmale48_at_hotmail.com)
Date: 08/22/04


Date: 22 Aug 2004 09:58:42 -0700

Thats my question! What is it?! How would I find out. I am looking at
the Task Manager. The GC only reports about 84k of allocations. The
Win32 Equlivalant of this program would be less than a Meg. My theory
is it is all the memory of having the Assemblies loaded in memory.

"Willy Denoyette [MVP]" <willy.denoyette@pandora.be> wrote in message news:<#UJCGMvhEHA.140@TK2MSFTNGP12.phx.gbl>...
> And what exactly is the 23MB footprint? What Memory counters are you looking
> at?
>
> Willy.
>
>
> "Tom" <junkmale48@hotmail.com> wrote in message
> news:63d1c9f0.0408200828.5d8cf14b@posting.google.com...
> > We have a VERY simple .NET C# Form Application, that has about a 23MB
> > Memory Footprint. It starts a window runs a process and does a regular
> > expression. I have done a GC.Collect to make sure that, no memory is
> > lying around. GC reports only 84k of allocations. Starting 5-10 of
> > this apps is going to start taking a considerable amount of memory. Is
> > there a way to reduce this?
> >
> > Tom



Relevant Pages

  • Re: Code density and performance?
    ... >> quite a bit of research on better locality and packing as ... small and too large for that sort of program. ... similarly for banal programs like 'xterm', which has a memory ... 512B the memory footprint of both 'xterm' and 'ls' above would ...
    (comp.arch)
  • Re: How to reduce memory usage?
    ... If you want a small app revert to assembler;) ... A programs memory footprint is not static. ... footprint of a reasonably well written Delphi gui application is, IMO, ...
    (alt.comp.lang.borland-delphi)
  • Re: Which uses less memory?
    ... I'm working on an application that is very memory intensive, ... trying to reduce the memory footprint of classes wherever possible. ... use Hessian and pyactivemq to handle the Java/Python interfaces. ... Do these protocols (Hessian and Stomp) preserve the class ...
    (comp.lang.python)
  • Re: LISP web hosting
    ... | Do you think clisp would have a smaller memory footprint than cmulisp. ... bulk of the app were compiled). ... Besides, as I said, the real memory ... between GCs using the default 12 MB delta threshold. ...
    (comp.lang.lisp)
  • Re: Object creation overhead
    ... and manually populate 6 of the String variables ... > the private variables, in total about 29 methods for this class. ... * Reduce the number of objects in memory at the same ... and I am trying to get a similar memory footprint ...
    (comp.lang.java)