Quick question regarding commit memory and pagefile


  1. Posts : 18
    Windows 7 Ultimate x64
       #1

    Quick question regarding commit memory and pagefile


    I recently disabled my pagefile to see how it would affect the total commit usage in task manager. I have noticed that the commit usage is higher than the ram usage. Does this mean that Windows is paging to the SSD/HDD anyway? So in effect, if there is 300MB paged elsewhere, I can't use all 8GB of ram I assume, since going over the commit total (which seems to match my total ram) would lead to memory exhaustion, even if the ram is not used up.
    Heres what task manager shows after login:
    Physical Memory
    Total: 8189MB
    Cached: 1285MB
    Available: 6826MB
    Free: 5640MB
    Used: 1340MB

    Kernal Memory
    Paged: 140MB
    Nonpaged: 88MB
    The commit shows 1628/8187 (used/total), pagefile disabled.
    Is this the reason why pagefile should be left on?
      My Computer


  2. Posts : 18
    Windows 7 Ultimate x64
    Thread Starter
       #2

    Lol now I realise why. By adding Kernal and Physical Memory Used, you get the total commit used. Jeez, I must be brain dead.
      My Computer


  3. Posts : 18
    Windows 7 Ultimate x64
    Thread Starter
       #3

    Although that still doesn't explain why Windows reports 6826MB available ram if Kernel Memory is using it (maybe kernel memory is hidden in the 'free space')... Also 1340+140+88=1568, which falls short by 60 compared to the 1628 commit usage.
      My Computer


  4. Posts : 5,092
    Windows 7 32 bit
       #4

    Best explanation I found so far is for XP but it may shed some light:

    Windows Task Manager - Performance Explained | PCWizKids Tech Talk - Configure your Gaming Rig and Tweak Windows for Performance

    It was my impression that since code images act as their own page file, that the kernel "paged out" could be misleading. Since it should not have to be stored when it can be just read in again off the drive. Even when I run no swap file it always shows some kernel memory paged out.

    If there's a system guru around please chime in as it's not easy to find definitions for some of this stuff. :)
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    See Part One.
    https://msmvps.com/blogs/gdicanio/ar...ssinovich.aspx

    No better person to get this information from then Mark Russinovich.
      My Computer


  6. Posts : 18
    Windows 7 Ultimate x64
    Thread Starter
       #6

    Thanks for that link. Very detailed!
    Considering that Commit is total ram and pagefile memory combined, and I don't have a pagefile, does that mean my ram usage is actually 1628MB, not 1340MB (as reported by all the ram usage monitors)? Does this also mean my ram available is 6561MB, not 6826MB? I'm still a bit confused.
      My Computer


  7. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #7

    | RESMON | ENTER | MEMORY tab
      My Computer


  8. Posts : 120
    Win 7
       #8

    logicearth said:
    No better person to get this information from then Mark Russinovich.
    Good advice. Russinovich (and Jeff Richter and others from the original NT-series design team) knows what he's talking about. Others (especially online) do not. The web contains a torrent of misinformation on these subjects. Ignore all of that.

    Yes, there are a few experts who know what they're talking about. But there are also experts who are clueless, despite their fame, their putative credentials, and their online (false) reputation. Ignore them.

    Simple rule: Read Russinovich. Ignore the rest.
      My Computer


  9. Posts : 2,528
    Windows 10 Pro x64
       #9

    Also, don't use Task Manager for determining resource consumption - it uses terms that are not entirely correct when describing memory usage, and resmon or perfmon are much better (for example, committed in Task Manager != actual committed memory, it actually also includes other counters that can skew the results (for example, the commit column in task manager includes *reserved* memory, that hasn't actually been committed).

    Task manager is for managing tasks in Windows 7 (and higher), and Resource Monitor (resmon) is for determining actual resource usage (short of using perfmon, Process Explorer, or the tools in the WPT).
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:54.
Find Us