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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:10:54+00:00 2026-05-24T07:10:54+00:00

You can easily get the memory usage of the current process using workingset64 However

  • 0

You can easily get the memory usage of the current process using workingset64

However I could not find any event like OnMemUsageChanged so I can display a little mem usage meter that displays live/real time the mem usage value. Updating in a timer every second can be done but looks inefficient.

Is there anyway I can get an event or callback every time the mem usage changes ? thank you

  • 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-24T07:10:54+00:00Added an answer on May 24, 2026 at 7:10 am

    No, mapping virtual memory to RAM is a very low level operating system kernel operation. It cannot afford doing something as expensive as running user level code to generate the notification. And much worse: ensuring that this user level code is mapped to RAM as well could undo the mapping operation in the first place. Only polling is an option.

    You have to watch out for memory statistics like this. WorkingSet is a pretty random number that is heavily affected by what other code is running on the machine. Pages of your program will be unmapped when the RAM they occupy is needed to run this other code. Simply minimizing the main window of your app has an effect, Windows takes that as a hint that you won’t be using the program for a while and it aggressively trims the working set size to make room for other programs you are probably going to use next.

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

Sidebar

Related Questions

I can easily get Explorer to open up and select a file using the
I'm looking for ActiveX components that can easily: get and send emails via SMTP
Given an XDocument instance, how can I easily get a TextReader that represents that
I can get easily see what projects and dlls a single project references from
When using PyWin I can easily load a python file into a fresh interactive
Apparently you can easily obtain a client IP address in WCF 3.5 but not
I'm finding it strange that I can't find any information about how to populate
Maps are great to get things done easily, but they are memory hogs and
I need to find a library that allows me to easily get a directory
I can easily define a datatype for a node of a directed graph. data

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.