Defrag Tools

Defrag Tools: #6 - RAMMap

Download this episode

Download Video

Description

In this episode of Defrag Tools, Andrew and I walk you through Sysinternals RAMMap. RAMMap allows you to see how the Physical Memory (RAM) on the computer is being used. You can see how much RAM there is, for what purpose it is being used, and if there has been any memory pressure (not enough memory). We also cover a lot of Memory Management theory to understand the data in RAMMap.

Resources:
Sysinternals RAMMap

Timeline:
[01:00] - 'Mysteries of Memory Management Revealed' talk [Part 1, Part 2]
[01:40] - The brick wall analogy
[05:35] - Page Faults
[06:32] - 'Use Counts' tab
[07:40] - Memory Lists - state transition explanation
[13:37] - 'Use Counts' tab... continued
[16:33] - Paged and Nonpaged Pool
[19:00] - Driver Locked
[21:40] - 'Processes' tab... inc. Zombie Processes
[24:00] - 'Priority Summary' tab... inc. Memory Pressure
[26:56] - 'Physical Pages' tab
[28:00] - 'Physical Ranges' tab
[28:38] - 'File Summary' tab
[29:36] - 'File Details' tab
[30:20] - 'Empty' menu... inc. Performance Analysis
[31:33] - Sysinternals Administrator's Reference [Amazon]
[32:05] - Next time...VMMap

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • schroedl

      Excellent. Looking forward to the VMMap video.

    • samhmaria

      Another great show. Can't wait for the next one. Thanks again.

    • Phililp Saunders

      the memory map you showned in the video (memory transitition.png) where can we download it?

    • windev

      @Phililp Saunders: It's from the Windows Internals books/David Solomon kernel course.  It is copyrighted to them, so I can't make it available for download Sad

    • siodmy

      repurposed is bad...

      http://imageshack.us/photo/my-images/854/repurposedisbad.png/

      new laptop, but it's maybe because I didn't turn it off since a few days ago. Maybe. I hope.

    • windev

      @siodmy: The repurposed of 0-4 is expected. It is the 5-7 that matter. You are getting enough memory pressure on 5 (1.6Gb -- x8 reused) to raise interest at least. Adding a few gigs will definitely help in those times - its not critical though.

    • James G

      Andrew, Please update your Flash player! you should be up to 11.4.402.265
      you are still using the old 11.3.300.271 which is exploitable. Great Show, I hope you continue to make new shows every week, I look forward to them.

    • windev

      @James G: I use a vhd for the show and it only runs during taping (so I don't add features to the install without you seeing it). The next time I prepare for a show, I'll make sure to give it some time to do the updates. Can't set a bad example can I!

      The show will be weekly for at least another ~10 weeks based on the current episode recording schedule. We tape a few at a time if it is the same topic.

      Next is vmmap, then we have a special edition, then inbox tools. After that in a yet to be decided order is 3+ on Windows Performance Toolkit, 2+ on Procdump, 4+ on Debugging Tools for Windows, Network Monitor, Fiddler and PsTools. In the maybe bucket is audio, video, printing and device troubleshooting (1 each). We will also probably do a live show on Channel 9 Live at Build.

      Lots and lots of shows to watch!  If your favorite tool isn't in that list, drop us an email at defragtools@microsoft.com or write a comment and we'll add it to the list or move it forward.

    • ggjjhkjhhg

      fegnddmn

    • Adelino​Araujo

      I have a question: you talked about Hyper-V and a vm starts and says to the memory manager hey get me a big part of your ram, and it needs to be continuous. This may work for a fixed memory vm, but what about dynamic memory?

      The startup memory block can be 1gb and later need a little bit more, and perhaps find that memory has been occupied by other vm's...

      Thanks

      Adelino

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.