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 6370821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:58:48+00:00 2026-05-25T00:58:48+00:00

I am working on a C# application which is designed to run in the

  • 0

I am working on a C# application which is designed to run in the system tray all the time. I would therefore like to minimise the amount of memory which the application uses when idle. Using Windows perfmon and the Windows Task Manager I have got some figures for idle memory usage.

  • Windows XP TaskManager – Mem Usage – 96,300K
  • PerfMon
    • .NET CLR Memory
      • # Bytes in all Heaps – 34,513,708
      • # Total committed Bytes – 40,591,360
      • # Total reserved Bytes – 50,319,360

I think these figures mean that my application has been allocated 96MB of memory by Windows. 50MB of this has been allocated to the CLR. The CLR has handed out 40mb of this.

Is there any way to work out what the other 46mb of memory which hasn’t been assigned to the CLR is being used for? I assume this will be a combination of memory used for loading DLLs into the process and memory used by this native code.

EDIT: I have download VMMap and found the following.

  • Private
    • Total – 72mb
    • Managed Heap – 25mb
    • Stack – 16mb (Seems quite large)
    • Private Data – 13mb (Not sure what this is)
    • Image – 8mb (Mostly .NET DLLs)
    • Page Table – 6mb (Seems quite large)
    • Heap – 3mb

Can anyone suggest an interpretation for the Stack, Private Data and Page Table figures?

NOTE: The counters I originally quoted are now showing some bizarre figures.

  • Windows XP TaskManager – Mem Usage – 43,628K
  • PerfMon
    • .NET CLR Memory
      • # Bytes in all Heaps – 20mb
      • # Total committed Bytes – 23mb
      • # Total reserved Bytes – 50mb

This suggests that the CLR has reserved more memory than has been allocated to the process. Obviously this can’t be true so the TaskManager must only be showing what has been paged in at the moment.

  • 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-25T00:58:48+00:00Added an answer on May 25, 2026 at 12:58 am

    Note that the difference between the total memory usage (I’m not exactly sure what figure TaskManager is showing; Windows tools have a bad history about using different terms for equal concepts) and the “#Total reserved bytes” may also be used by CLR, just not by the managed heap (so native allocations by the CLR, loaded DLLs, etc. may also account here).

    You may want to checkout Sysinternals VMMap to get more detailed information.

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

Sidebar

Related Questions

I am working on a HTML5 application designed to run a Google map which
I am working on an application which draws a simple dot grid. I would
I am working on an application which would take an XHTML. <documents> <document> <span
* *Hey i was working on an application which converts any basenumber like (2,8,10,16,etc)
I'm currently working on desktop application which calls third party API. After authorizing against
I'm working profesionally on a php web application which contains contacts, among other data.
I'm working on a .Net application which uses Asp.net 3.5 and Lucene.Net I am
I am working on a WPF application which has a treeview that represents an
I'm working on an asp.net application which uses Lucene.net I need to highlight the
Currently i am working on a desktop application which consists mathematical analysiss.I am using

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.