Virtual memory is a representation of the combined physical memory and swap space in a system. It enables running processes to access more than the existing physical memory by mapping locations in physical memory to files on disk. When the system needs more pages of memory than are available, some of the existing pages will be paged out or written to the swap space.
The memory map displays the total virtual memory use of the process, and can be used to determine the memory cost of running a single or multiple instances of the program, to ensure the use of the correct shared libraries, to see the results of adjusting various performance tuning parameters the program may have, or to diagnose issues such as memory leaks.
To display the memory map of a process:
Click the Processes tab.
Right click the desired process in the process list.
Click Memory Maps.
Addresses are diplayed in hexadecimal (base 16).
Sizes are displayed in IEC binary prefixes.
At runtime the process can allocate more memory dynamically into an area called the heap, and store arguments and variables into another area called the stack.
The program itself and each of the shared libraries has three entries each, one for the read-execute text segment, one for the read-write data segment and one for a read-only data segment. Both data segments need to be paged out at swap time.
Got a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.