Re: High memory usage
See inline ****
Willy.
"Pete" <pvidler@gawab. com> wrote in message news:ECk6b.126$ mi4.84@newsfep1-gui.server.ntli .net...[color=blue]
> Hi,
>
> Philip Carnstam wrote:[color=green]
> > The whole DotNet idea is ridiculous otherwise... Can I only have 10
> > home made DotNet applications active at once on a 128 MB Ram machine
> > before the machine completely runs out of memory?
> > Sounds mighty strange to me...[/color]
>
> There are two things to consider here:
>
> 1) In low memory conditions your application will use less memory (try
> opening many high memory usage applications and see for yourself). You get a
> similar effect when you application is minimised and restored.
>[/color]
**** Note that minimizing app's only results in trimming of the WS, that is pages are returned to the paging file, or are simply
freed when read-only pages.
[color=blue]
> 2) Most of that memory usage is the framework itself.. which *should* be
> shared between applications running at the same time (someone correct me if
> I'm wrong with this). If I'm right on this, having many .NET apps open at
> once should take less memory than having many (similar) non-.net apps open.
>[/color]
**** You are (unfortunately) wrong here, FCL (Jitted) code is non-shared, only a part is shared code (the native code DLL's).
[color=blue]
> Basically ignore what the task manager is telling you and just write your
> program.
>
> -- Pete
>
>[/color]
See inline ****
Willy.
"Pete" <pvidler@gawab. com> wrote in message news:ECk6b.126$ mi4.84@newsfep1-gui.server.ntli .net...[color=blue]
> Hi,
>
> Philip Carnstam wrote:[color=green]
> > The whole DotNet idea is ridiculous otherwise... Can I only have 10
> > home made DotNet applications active at once on a 128 MB Ram machine
> > before the machine completely runs out of memory?
> > Sounds mighty strange to me...[/color]
>
> There are two things to consider here:
>
> 1) In low memory conditions your application will use less memory (try
> opening many high memory usage applications and see for yourself). You get a
> similar effect when you application is minimised and restored.
>[/color]
**** Note that minimizing app's only results in trimming of the WS, that is pages are returned to the paging file, or are simply
freed when read-only pages.
[color=blue]
> 2) Most of that memory usage is the framework itself.. which *should* be
> shared between applications running at the same time (someone correct me if
> I'm wrong with this). If I'm right on this, having many .NET apps open at
> once should take less memory than having many (similar) non-.net apps open.
>[/color]
**** You are (unfortunately) wrong here, FCL (Jitted) code is non-shared, only a part is shared code (the native code DLL's).
[color=blue]
> Basically ignore what the task manager is telling you and just write your
> program.
>
> -- Pete
>
>[/color]
Comment