Questions tagged [vmmap]

VMMap is a process virtual and physical memory analysis utility.

It shows a breakdown of a process's committed virtual memory types as well as the amount of physical memory (working set) assigned by the operating system to those types.

Besides graphical representations of memory usage, VMMap also shows summary information and a detailed process memory map. Powerful filtering and refresh capabilities allow you to identify the sources of process memory usage and the memory cost of application features.

28 questions
16
votes
2 answers

What does "Private Data" define in VMMAP?

I am using VMMap to analyse Virtual/Process Address Space utilisation in my mixed mode (managed and unmanaged) application. I understand how the Windows VMM and the Virtual Memory API works, I understand how the Heap Memory API Works too. I have…
rb_
  • 613
  • 9
  • 24
11
votes
2 answers

How does VMMap know a given memory region is Thread Stack, specifically?

I've been using Mark Russinovich's VMMap to map out the Virtual Memory for a process I'm analyzing. Using VirtualQueryEx, I can walk the space of an external process and get information on the memory regions within the process's address space. These…
Mike Caron
  • 5,674
  • 4
  • 48
  • 71
6
votes
1 answer

Heap Allocation and Call Tree buttons on VMMAP tool Disabled

I understand the Heap Allocations button should allow me to see call stacks, but the button is always disabled (grayed out) no matter what I try. (I used the "Launch and Trace New Process" feature to run my application, but it doesn't…
6
votes
1 answer

Locate __proc_info symbol in XNU project

I'd like to figure out how does VMMAP process operates. After running this executable with dtrace, it seems that the method proc_regionfilename that extract the address space of each section in the virtual memory. So, I dug a little deeper, and…
Zohar81
  • 4,554
  • 5
  • 29
  • 82
4
votes
1 answer

Breakpoint for VirtualAlloc that depends on allocation size

I have a .Net application (Windows Service) that consumes to much unmanaged memory after some time running until it crashes by an OutOfMemoryException. More info in this question (deleted; 10k users only). I've managed to create a Supervisor program…
4
votes
1 answer

Why Windows Task Manager and VMMap show different memory usage?

I am analyzing server application, written in Delphi7, running on Windows Server 2003 R2 Standard Edition SP2. Need to check when it goes out of memory. The memory usage displayed in Task manager and that in SysInternals VMMap are different.…
ALZ
  • 1,997
  • 2
  • 27
  • 44
4
votes
2 answers

How do I get the information shown in vmmap programatically?

As anyone who has watched the Mark Russovich talk "Mysteries of Memory Management Revealed" knows, the vmmap tool can show you things that count against your process limit (2GB on vanilla 32 bit windows) that few other tools seem to know about. I…
2
votes
0 answers

VMMap v3.32 does not analyze Managed Heap on Windows 10 and Windows Server 2012 R2

Managed Heap tab is not populated The VMMap utility does not show the memory details of the Managed heap. Have tried to run it on both Windows 10 and Windows Server 2012R2. Any inputs on how to make it work will be helpful ? Have seen similar…
2
votes
1 answer

What is inside the other managed-heaps that Visual Studio won't display?

My ASP.NET Core 2.2 web-application, running on .NET Framework 4.7.2, uses over 220MB+ after startup at idle. 220MB is high - because it runs in a small Azure App Service Plan, I wanted to see what could be done to reduce memory usage. Visual…
Dai
  • 141,631
  • 28
  • 261
  • 374
2
votes
0 answers

Are addresses from VMMap readable?

I'm using VMMap to view the address space of a process. In the left corner is the address. I attempted to copy the address and read it from the process. Here's an example: I attempted to see if I could read this address with a quick bit of code…
BugHunterUK
  • 8,346
  • 16
  • 65
  • 121
2
votes
1 answer

Where is my memory going?

We have been using Vmmap, and Processexplorer and MS Detours to analyze the memory usage in our program. Our goal was to validate our program's memory usage. For example, we know that we have X MB of data which we load from disk into memory, we want…
ultralazer
  • 21
  • 1
2
votes
1 answer

Why are OSX core files so large?

I have a simple program: #include int main() { std::cout << "Starting" << std::endl; while (1) { } return 0; } I compile and run it: clang -o test test.cpp bash$ ./test Starting In another terminal, I examine it and…
Steve Broberg
  • 4,255
  • 3
  • 28
  • 40
2
votes
0 answers

Why a program has a virtual address range that is not readable, writable or executable?

When I explore the virtual memory address ranges used by the bash program by looking at /proc/bash_pid/maps, I found that some virtual address range is not readable, writable, or executable. For example, 7f1337130000-7f133732f000 ---p 00017000…
Mike
  • 1,841
  • 2
  • 18
  • 34
2
votes
1 answer

Is there any API for the command vmmap

In the command line, i can use vmmap -v -purge 50554 to find the memory information of the process 50554, and get the output like below: VIRTUAL RESIDENT DIRTY SWAPPED VOLATILE NONVOL EMPTY REGION REGION…
jimwan
  • 1,086
  • 2
  • 24
  • 39
2
votes
2 answers

Why does windbg> !EEHeap -gc show a much smaller managed heap than VMMAP.exe?

I have a C# application whose memory usage increases overtime. I've taken periodic user mode dumps and after loading sos, run !EEHeap -gc to monitor the managed heap size. In windbg/sos I've seen it start ~14MB and grow up to 160MB, then shrink…
user2220032
  • 21
  • 1
  • 3
1
2