Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7682329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:32:35+00:00 2026-05-31T18:32:35+00:00

I have a process holding 130MB of memory according to task manager, with only

  • 0

I have a process holding 130MB of memory according to task manager, with only 11MB of live .NET objects according to dotTrace so I am wondering what’s happening with the other 120MB??

I’d need a tool to list assemblies and native DLLs loaded in a process, gets the size of the images in process, and, for each assembly, measure the memory footprint of the methods JITed.

ListDlls from SysInternal does partly that job. But it doesn’t measure JITed code size and it just provides raw data. Ideally I’d like a UI to analyze and sum-up these data.

Recently, the Visual Studio team reported having done such analysis with the tool PerfView. This is stated in the blog post Visual Studio 11 Beta Performance Part #1, section: The Biggest VM Consumer – DLLs. Does someone has experience and feedback analyzing native Dlls and assemblies footprint with PerfView?

Except ListDlls and PerfView, would you recommend any other tool?


Ok, VMMAP advised by Simon Mourier seems to be the more suited tool for this task. enter image description here VMMAP shows that the bulk of working set memory goes into the Managed Stack (113MB in green below), so the problem is more related to .NET objects than unmanaged memory. The green saw tooth curve, is just a timeline of loading/unloading sessions. For some reasons, my first measures were quite wrong:

  • dotTrace tells me I have 41MB of .NET objects allocated,
  • WMMAP shows a working set of 180MB (task manager shows a similar number)
  • WMMAP shows 113MB of managed heap allocated by the GC. 90MB of this managed heap memory is in the working set:

So my plan is:

  1. Identify why the GC allocates 113MB of managed heap for 41MB of .NET objects? (are such numbers normal? is it due to high fragmentation?)
  2. Work on shrinking this 41MB set of .NET objects allocated!
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:32:36+00:00Added an answer on May 31, 2026 at 6:32 pm

    Since you mention sysinternals’ ListDlls, there is another tool called Process Explorer that has tons of information, and is much much better than ListDlls (you want to make sure you have the latest versions that also has a lot of .NET information, supports 64-bit and 32-bit processes, etc.).

    For each process, you can have a simultaneous views of unmanaged memory (private bytes et al.) and managed memory (GC collections, large object heap, etc.) displayed in columns or per process.

    Another cool tool from sysinternals is VMMAP. It’s a process memory analysis utility and shows a breakdown of different types of virtual and physical memory types.

    As for you 120Mb question, you really want to check all unmanaged DLLs that are injected in your process and are not part of standard Windows installation or standard DLL set of processes. For such big size allocations, I would first track graphical components of course as they are notably known for allocation big chunks of memory (especially if you speak about a tool such as NDepend which is graphical). Process Explorer can also tracks the number of GDI and USER objects.

    On the GDI topic, there is a free tool named GDIView available here that gives a details of GDI objects allocated per process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an Asp.NET application holding all of our server logic. This application only
I have Process objects that are monitored from two different views. A Windows.Forms.ListView (actually
I have a process in a website (Asp.net 3.5 using Linq-to-Sql for data access)
I have two process and a shared memory zone, my workflow is like this.
We have a .NET service using ~30MB of memory at startup. (VM ~= Mem
I currently have an ArrayList holding objects of a class I have created, I
I have 1 process that receives incoming connection from port 1000 in 1 linux
I have a process in erlang that is supposed to do something immediately after
I have a process in Linux that's getting a segmentation fault. How can I
I have a process x that I want to check for leaks with valgrind

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.