Explain how to use the Memory Map feature.
The
To display the memory map of a process:
Click the
Right click the desired process in the
Click
Addresses are displayed 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.
Filename |
The location of a shared library that is currently used by the process. If this field is blank, the memory information in this row describes memory that is owned by the process whose name is displayed above the memory-map table. |
VM Start |
The address at which the memory segment begins. VM Start, VM End and VM Offset together specify the location on disk to which the shared library is mapped. |
VM End |
The address at which the memory segment ends. |
VM Size |
The size of the memory segment. |
Flags |
The following flags describe the different types of memory-segment access that the process can have: The memory segment is private to the process, and is not accessible to other processes. The process has permission to read from the memory segment. The memory segment is shared with other processes. The process has permission to write into the memory segment. The process has permission to execute instructions that are contained within the memory segment. |
VM Offset |
The location of the address within the memory segment, measured from VM Start. |
Private, Shared, Clean, Dirty |
|
Device |
The major and minor numbers of the device on which the shared library filename is located. Together these specify a partition on the system. |
Inode |
The inode on the device from which the shared library location is loaded into memory. An inode is the structure the filesystem uses to store a file, and the number assigned to it is unique. |