Re: Question about RAM

cmoyaX_at_nospam.com
Date: 06/15/04


Date: Tue, 15 Jun 2004 03:50:58 -0400

Yeah, it seems like a lot. The virtual machine is heavy. But IMHO people
tend to give too much weight to what Task Manager tells them. AFAIK, the mem
usage reported includes memory *mapped* into the process (meaning it's not
part of the process proper). Meaning if you have two .NET exe's running...
they both say 8mb.... but really 4 of those 8 megs is claimed by the runtime
and is shared between the two (little known fact: the *executable binary
image* of DLL's in memory is always shared across processes... even on
NT/2K/XP!) meaning they only really occupy about 12 megs of actual RAM.

Before someone jumps up to note the process seperations on NT based Windows
without really understanding how it works (note I said *exectuable image*
NOT *storage* space- heaps or stacks) , see article Q100635 in MSKB or MSDN.

"Éric Lapointe" <Eric.Lapointe@usherbrooke.ca> wrote in message
news:opr9lq67y6bqu4fa@satellite2450.civil.usherbrooke.ca...
> But... * meg... there is a way to optimize that ?
>
> Éric
>
> On 14 Jun 2004 20:41:46 +0200, Herfried K. Wagner [MVP]
> <hirf-spam-me-here@gmx.at> wrote:
>
> > * =?iso-8859-15?Q?=C9ric_Lapointe?= <Eric.Lapointe@usherbrooke.ca>
> > scripsit:
> >> I create a simple windows form with a textbox.
> >>
> >> In Process information window of WindowsXP, my application eat 8,88
> >> meg of memory
> >>
> >>
> >> IT IS A LOT ! it is normal ?
> >
> > Yes.
> >
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



Relevant Pages

  • Re: Future of 64 bits
    ... The marketting folk have "stolen" the term 64-bit so that it has almost ... no actual technical meaning these days. ... Are you using more than 2 gb of memory in a single application? ... that things run faster because of wider bus widths. ...
    (comp.sys.mac.system)
  • Re: RAM-a-lam-a-DING-DONG
    ... > So I buy a 512MB stick of memory from Crucial, to up my Powerbook G4 from ... > meaning I can only upgrade to 768MB. ...
    (uk.comp.sys.mac)
  • Re: help me understand memory and processes
    ... The term "shared memory" has a very specific meaning in the ... to page out parts of the data space for processes. ... >> actually shared with others or private space. ...
    (comp.os.linux.misc)
  • Re: Flyback boosters
    ... I suspect he means rocket powered VTHL, which is (AFAIK) the default ... meaning for 'flyback booster'. ...
    (sci.space.shuttle)
  • Re: memory leak`s
    ... Yes, the task manager is a first approximation if you know how to interpret it, but ... relying on it for an instantaneous snapshot whose meaning is not interpreted sensibly is ... increasing memory fragmentation is not determinable just by watching the memory increase. ... >> If you get an L1 cache hit, you get 0 CPU cycles delay in accessing the ...
    (microsoft.public.vc.mfc)