---
title: "Discussion on \"The Smallest Thing on My Mac Was Eating All 16 GB of RAM\" | Hashnode"
description: "Discussion on \"The Smallest Thing on My Mac Was Eating All 16 GB of RAM\". Check memory usage on Mac in Terminal with top, vm_stat, footprint and memory_pressure. Real output from a 16 GB M4 and the loop that found a leak."
url: "https://hashnode.com/posts/the-smallest-thing-on-my-mac-was-eating-all-16-gb-of-ram/6b07dcedf7fdbd646fcd7d49"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Smallest Thing on My Mac Was Eating All 16 GB of RAM](https://priyanshudotsol.hashnode.dev/the-smallest-thing-on-my-mac-was-eating-all-16-gb-of-ram?utm_source=hashnode&utm_medium=feed)

Check memory usage on Mac in Terminal with top, vm\_stat, footprint and memory\_pressure. Real output from a 16 GB M4 and the loop that found a leak.

5d ago · 8 min read · priyanshudotsol.hashnode.dev  
Read the article

-   [#macos](https://hashnode.com/tag/macos)
-   [#terminal](https://hashnode.com/tag/terminal)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#swift](https://hashnode.com/tag/swift)

## Written by

[Priyanshu Tiwari](https://hashnode.com/@priyanshudotsol)

@priyanshudotsol

  
[View profile](https://hashnode.com/@priyanshudotsol)

Engineer, who's building and breaking things Dm for collab

Engineer, who's building and breaking things Dm for collab

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
