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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:34:03+00:00 2026-05-12T05:34:03+00:00

I have a long-running memory hog of an experimental program, and I’d like to

  • 0

I have a long-running memory hog of an experimental program, and I’d like to know it’s actual memory footprint. The Task Manager says (in windows7-64) that the app is consuming 800 mb of memory, but the total amount of memory allocated, also according to the task manager, is 3.7gb. The sum of all the allocated memory does not equal 3.7gb. How can I determine, on the fly, how much memory my application is actually consuming.

Corollary: What memory is the task manager actually reporting? It doesn’t seem to be all the memory that’s allocated to the app itself.

  • 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-12T05:34:04+00:00Added an answer on May 12, 2026 at 5:34 am

    As I understand it, Task manager shows the Working Set;

    working set: The set of memory pages
    recently touched by the threads of a
    process. If free memory in the
    computer is above a threshold, pages
    are left in the working set of a
    process even if they are not being
    used. When free memory falls below a
    threshold, pages are trimmed from the
    working set.

    via http://msdn.microsoft.com/en-us/library/cc432779(PROT.10).aspx

    You can get Task Manager to show Virtual Memory as well.

    I usually use perfmon (Start -> Run… -> perfmon) to track memory usage, using the Private Bytes counter. It reflects memory allocated by your normal allocators (new/HeapAlloc/malloc, etc).

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

Sidebar

Related Questions

I have a long-running multithreaded program, and I'd like to occasionally like to call
I have a long running Task that uses callbacks to feed data incrementally (rather
I have a long running PHP script that has a memory leak which causes
I am having a few memory problems with a long running application; I have
I would like to have some long-running server applications periodically output general GC performance
I have a long running rake task that is gobbling up all my system
I have a python program that is running for many days. Memory usage does
I have a long running process that I suspect has a memory leak. I
I have a long running SQL statement that I want to run, and no
I have a long running process in VB6 that I want to finish before

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.