CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006

    Smile Getting the actual memory consumption

    I dont know if this question has been asked in this forum before. I am taking the memory comsumption of a process using the GetProcessMemoryInfo() API. I have obtained the memory consumption like WorkingSetSize, QuoatPagePoolUsage etc. and these are correct as shown in Windows Task Manager. But how can I obtain the actual memeory consumption of the process in KB as shown in Task Manager under the Mem Usage column? I need to get that value. I searched the net and found some links but there was no mention about how one can get the actual memory consumption. Thanks in advance...

  2. #2
    Join Date
    Feb 2003
    Iasi - Romania

    Re: Getting the actual memory consumption

    Making some tests, the value displayed by task manager under "Mem Usage" column seems to be PROCESS_MEMORY_COUNTERS::WorkingSetSize.

    [ Moved thread ]
    "When in Rome, do as Romans do."
    My latest articles: http://codexpert.ro/blog/author/ovidiu-cucu/

  3. #3
    Join Date
    Jun 2006

    Re: Getting the actual memory consumption

    Yes..thats it..Thank u..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.