Skip to content

fransafu/memory-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memory-map

A macOS memory map tracker that monitors process memory regions and displays realtime metrics such as resident/virtual memory deltas and global VM statistics.

Memory Map

Metrics Explained

Target Process Metrics

  • Mapped Regions: Number of distinct memory segments mapped by the process.
  • Resident Delta: Change in actual physical RAM used (RSS).
  • Virtual Delta: Change in total address space allocated (VSZ).

macOS Global VM Stats

  • Active: Physical memory currently in use.
  • Compressed: Memory compressed by macOS to free up RAM.
  • Wired: Core system memory locked in physical RAM.

Usage

Build the project:

zip build

Run the program:

sudo ./zig-out/bin/memory-map <pid>

Note: look for the PID of the process you want to monitor using ps aux | grep <process_name>

License

This project is licensed under the MIT License, see the LICENSE file for details.

About

simple macOS memory map tracker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages