A heuristic-based memory leak detector for macOS. It sits in the background, filtering out noise (like Chrome tabs) and alerting you only when a process shows a definitive leak pattern as determined by a custom algorithm.
- Smart Filtering: Distinguishes between "Heavy Usage" (YouTube) and "Memory Leaks".
- Browser Aware: Applies stricter logic to Chrome/Electron helpers to avoid false positives.
- Critical Alerts: Uses native macOS popups so you never miss a memory leak.
- Open Terminal in this folder.
- Run the installation command:
pip install . - Then, from anywhere you can run the command:
msentry
- You have successfully started Memory Sentry! Now wait until it detects a memory leak.
- You can use Ctrl + C to quit Memory Sentry within the CLI.
- In case you'd like to test Memory Sentry on a simulated memory leak, I have you covered!
- Simply run this command in a separate terminal instance:
mvictim
- Then, as usual, run:
msentry
- Wait until the strikes, and eventually the popup appear, and voila, the leak is detected!
- Make sure to stop both programs once you're done or else they will run forever. Do so with:
Ctrl + C