

MemPro
C++ Memory Profiler

Memory View
The Memory View shows:
- The entire virtual address space
- The state of all 4K pages
- All Allocations
- The contents of memory
In the top right of the window are check boxes where you can enable and disable viewing of specific types of memory. These boxes also serve as a colour key for the different memory states.
The memory bars show the memory state at 3 different zoom levels. Click on a bar to show that memory in the next bar down. Right click and drag to scroll, and use the mouse wheel to zoom.
You can use the Memory View to:
- View memory fragmentation
- Determine cache locality
- View the contents of memory
GUI:

-
Virtual Memory Bar: This bar shows memory at the most zoomed out level. There are multiple 4K pages
per pixel. Each page range is indicated with a small black line above the bar.
The red zig-zag lines indicate that MemPro is not showing all of the free pages to save
space (hover your mouse over and see the memory location jump).
Left Click on the bar to show that memory in the 4K Page Memory Bar.
Right mouse button to drag and scroll.
Mouse wheel to zoom
-
4K Page Memory Bar: This bar shows memory at the 4K page level. Pages are divided by black lines.
The bar is scrolled to the currently selected
The selected page will be shown by black rectangles above and below the page.
Left Click on the bar to show that memory in the Allocation Memory Bar.
Right mouse button to drag and scroll.
Mouse wheel to zoom
-
Allocation Page Memory Bar: This bar shows the memory allocations, down to byte resolution.
The bar is scrolled to the currently selected 4K page in the page bar.
Left Click on an allocation to view more details below.
Right mouse button to drag and scroll.
Mouse wheel to zoom
-
Page Stats: Shows information on the currently selected 4K page.
Address Start address of the page State Free, Reserved or Committed Type Image, Mapped, Private -
Allocation: Shows information on the currently selected allocation.
State Allocated or Free Address Address of the start of the allocation Size Size of the allocation
- Callstack: Shows the callstack of the currently selected allocation.
-
Memory Contents: Shows the contents of the memory for the currently selected allocation.
You can type an address in the address text box to go to any address. The dropdown on the right controls how many columns are visible. Right click on the memory contents to bring up a context menu where you can specify how the memory bytes should be displayed.
Note: this is only available if you have taken a Full Callstack. See the Full Callstack page for more info. - Current Memory Address: Shows the memory address at the mouse cursor when the mouse is over one of the memory bars.
© Copyright 2011 - 2013 Stewart Lynch