Free & open source  ·  macOS 14+

Set a memory limit
for Chrome.

Memory Saver sleeps idle tabs. RAMcap sets the ceiling Chrome doesn’t have — and stops the heaviest tab before your Mac runs out of memory.

or with Homebrew brew tap lior-pesoa/tap && brew trust lior-pesoa/tap && brew install --cask lior-pesoa/tap/ramcap

Version 0.1.0  ·  Signed & notarized by Apple  ·  MIT license  ·  No admin rights

Chrome memory

11.4 GB Under your 14 GB limit
Chrome11.4 of 14 GB

Largest tabs

  • YouTube — Live2.6 GB
  • Figma — RAMcap1.9 GB
  • Gmail — Inbox820 MB
  • Google Docs — Plan610 MB
  • Frame: maps.google.com340 MB
Warn 12 GB · Stop 14 GBSettings…
Stopped “YouTube — Live”Freed 2.6 GB · Reload the tab to bring it back

The problem

No more “Your system has run out of application memory.”

Chrome reached 30.5 GB on a 24 GB Mac, and macOS paused every app to survive. Chrome has no memory limit. RAMcap gives it one, so a single heavy tab stops — not your whole Mac.

Before

Chrome at 30.5 GB. Every app paused.

With RAMcap

Chrome capped at 14 GB. One tab stopped, reload to restore.

Per scan

19ms

A native read of every Chrome process. Same total as Activity Monitor.

Grace period

20s

Before a tab is stopped, you get a notice with Protect and Stop now.

Things to install in Chrome

0

No extension, helper tool or admin rights. RAMcap runs outside Chrome, so it never freezes with it.

How it works

Watch. Warn. Cap.

Out of the box it warns at 50% of your Mac’s RAM and stops at 65%. Move the slider to change it — RAMcap keeps Chrome under it from your menu bar.

01 · Watch

Chrome’s real total, always visible

Your menu bar shows Chrome’s full memory footprint — every tab, extension and helper process — not the misleading RSS number.

02 · Warn

A heads-up before it hurts

Cross your warning level and RAMcap tells you which tabs are heaviest, so you can close one on your terms.

03 · Cap

A hard ceiling that holds

At the limit you get 20 seconds’ notice with Protect and Stop now, then the largest tab process is stopped. It shows “Aw, Snap” — reload brings it back.

Compare

Memory Saver isn’t a limit.

Chrome’s Memory Saver unloads tabs you haven’t used in a while. It lowers the average — it never sets a ceiling.

Memory SaverRAMcap
Sets a ceiling on Chrome’s total memory
Handles a runaway tab you’re actively using
Shows Chrome’s real footprint in the menu bar
Lets you protect tabs that must never stop
Unloads tabs you haven’t used in a while

Use both: Memory Saver keeps the everyday level low, RAMcap stops the spike.

Open source

Free and open.
Read every line.

RAMcap stops processes on your Mac, so you should be able to see exactly how. The whole app — scanner, policy and enforcer — is on GitHub under the MIT license. No account, no subscription, and nothing leaves your Mac.

Built with
Swift 6 · SwiftUI
Runs on
macOS 14 or later
Needs
No root, no helper tool
Footprint
A menu bar icon. No Dock icon.
License
MIT
Signed
Notarized by Apple

FAQ

Good questions.

How do I limit Chrome’s memory usage on a Mac?

Chrome has no setting for a memory limit. Install RAMcap, a free menu bar app, and set a limit with its slider (by default 65% of your Mac’s RAM, for example 16 GB on a 24 GB Mac). When Chrome’s total memory reaches the limit, RAMcap gives you 20 seconds’ notice and then stops the largest tab’s process.

Why does my Mac say “Your system has run out of application memory”?

macOS shows this when apps together use more memory than your Mac has, even with swap. Google Chrome is a common cause: one heavy tab can grow to many gigabytes. Quit or reload the biggest tabs to recover. To keep it from happening again, cap Chrome’s memory with RAMcap.

Isn’t Chrome’s Memory Saver enough?

Memory Saver puts idle tabs to sleep, which lowers Chrome’s usual memory. It is not a limit: it skips the tab you are using, tabs playing audio or video, tabs in a call and tabs with unsaved input, so a runaway tab can still use all your memory. RAMcap works alongside Memory Saver and adds the ceiling.

What happens to a tab RAMcap stops?

The tab stays open and shows Chrome’s “Aw, Snap” page. Reload it to load the page again. Anything unsaved in that tab, such as a half-written form, is lost, so protect tabs you can’t lose.

Can I stop RAMcap from closing a specific tab?

Yes. When RAMcap is about to stop a tab, the notification has a Protect button. With tab names turned on, you can also pin any tab in the menu so RAMcap never stops it. Tab names need Accessibility permission and Chrome in English.

Is RAMcap free and safe?

Yes. RAMcap is free and open source under the MIT license, signed and notarized by Apple, and needs no admin password. It only reads memory figures and, if you turn on tab names, tab titles. Nothing leaves your Mac.

Does RAMcap work with Safari, Arc, Brave or Edge?

Not yet. RAMcap works with Google Chrome on macOS 14 or later. Support for Arc, Brave and Edge, which are built on Chromium, is planned.

Why not a Chrome extension?

Extensions can’t read per-tab memory on stable Chrome, and they freeze along with it. RAMcap lives outside Chrome, so it keeps working when Chrome doesn’t.