Skip to content

Programming by Design

If you're not prepared to be wrong, you'll never come up with anything original. – Sir Ken Robinson

  • About
  • Java-PbD
  • C-PbD
  • ASM-PbD
  • Algorithms
  • Other

CISS-150 Windows Memory

Posted on October 18, 2021 By William Jojo
Uncategorized

Overview

The memory layout of Windows is a bit more complex than that of Linux. While we have seen some of the Linux memory model, it is also a good idea to get a sense of how other OSes perform similar memory virtualization.


Get the Software

Login to your Windows 10 guest and get the following from SysInternals:

LINK
LINK

You will need to uncompress and extract the files to a directory of your choice.


Using Task Manager

Task Manager can be started either by:

  • Right-clicking on the task bar and selecting Task Manager.
  • Entering Task Manager in the search box of the task bar.

Once it is running, you may have to select More Details to expand the view. Task manager is good for seeing a general view of the environment.

task manager select options


Using RAMMap

The RAMMap tool allows you to see a bit more detail of memory utilization than what is provided in the Task Manager.

rammap use counts
Figure 1: RamMap Use counts.

We can see from the data in Figure 1 that the 4GB Windows 10
rammap physical ranges


Using VMMap

vmmap select application

vmmap memory layout for notepad

Post navigation

❮ Previous Post: Godbolt: Behind the Compiler
Next Post: Signal Handling ❯

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Copyright © 2018 – 2025 Programming by Design.