Re: Question in .Net memory management.
From: Willy Denoyette [MVP] (willy.denoyette_at_pandora.be)
Date: 03/16/04
- Next message: Imayakumar: "Help me on ASP.NET State Server"
- Previous message: Willy Denoyette [MVP]: "Re: Server Application"
- In reply to: Hadi: "Question in .Net memory management."
- Next in thread: Hadi: "Re: Question in .Net memory management."
- Reply: Hadi: "Re: Question in .Net memory management."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Mar 2004 12:25:28 +0100
Note that the working set of a managed application is larger than a native
windows application. However, it looks like your application uses a lot of
"unmanaged" memory (Win32 heaps and other data), are you calling into
unmanaged code using PInvoke, COM?
What kind of application is it?
Willy.
"Hadi" <hadi@hadi.net> wrote in message
news:%23b9vkHzCEHA.3256@TK2MSFTNGP09.phx.gbl...
> Hello,
>
> My application is now currently sitting at 100Mb, at least that is how the
> Windows Task Manager reported. I am in the process of reducing the RAM
> requirement. I downloaded anumber of .Net memory profiler but I am
> surprised
> that according to those profiler the HEAP is only 1.3-1.5Mb? Where does
> the
> rest of memory come from? This is a mystery to me.
>
> Also, using the .Net Memory Profiler from scitech, it reported that the
> Heap
> is 1.3 Mb .. but curiously there is this tab showing the 'Native Memory'
> which is a lot closer to what the Windows Task Manager reported. Here is
> the
> breakdown of the 'Native Memory' tab:
>
> Total: 88Mb (107Mb with profiler data)
>
> - Private 56Mb
> +---- Managed heaps 2,7Mb
> +---- Code 11Mb
> +---- JIT 2Mb
> +---- Win32 Heaps 24Mb
> +---- Other data 15Mb
> - Shared 14Mb
> - Potentially shared 17Mb
>
>
> I don't really understand. Why does .Net requires so much memory? Is all
> of
> this 'overhead'? I must have missed soething huge here. Anyone?
>
> Thanks!
>
> Hadi.
>
>
>
>
>
- Next message: Imayakumar: "Help me on ASP.NET State Server"
- Previous message: Willy Denoyette [MVP]: "Re: Server Application"
- In reply to: Hadi: "Question in .Net memory management."
- Next in thread: Hadi: "Re: Question in .Net memory management."
- Reply: Hadi: "Re: Question in .Net memory management."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|