Rosetta 2 on Apple silicon: the translation cache in /var/db/oah and what removing Intel apps frees

By the Zofle team · 29 November 2026 · 7 min read

Rosetta 2 translation cache in /var/db/oah and Intel application storage on Apple silicon

When you run an Intel-only (x86_64) app on an Apple silicon Mac, Rosetta 2 can translate code ahead of time (AOT) and also translate just-in-time (JIT) when needed. macOS keeps AOT artifacts in a protected system data vault; on the Mac measured for this article, Rosetta's protected data appeared under <code>/var/db/oah</code>. That is not a user cache to empty. Here is how to audit the Intel apps still on your drive, measure the space each app uses, and separate storage you can reclaim from Rosetta data managed by macOS.

What OAH and /var/db/oah actually are

  • Rosetta has two translation paths: Apple's Platform Security guide describes ahead-of-time translation, which produces a translated artifact, and just-in-time translation for code that cannot be translated ahead of execution.
  • The artifacts are authenticated: macOS signs the translated artifact and binds it to the original x86_64 image. Apple's guide says the artifacts are stored in the Rosetta Data Vault, where no process except Rosetta can access them.
  • /var/db/oah is protected system data: On the measured Mac, ls -ldO /var/db/oah reported owner _oahd and the restricted flag. An ordinary du or deletion attempt is therefore not a useful or supported cleanup method.
  • Do not disable SIP to clear it: Removing an Intel app or replacing it with an Apple-silicon build is a supported user action. Altering Rosetta's protected data is not.

How big does the translation cache get?

There is no supported command that attributes Rosetta's protected data to individual apps, and Apple does not publish a per-app cache-size formula. That means a table of supposed typical cache sizes would be guesswork. Measure the removable app bundle and its user data instead: those are the bytes you can identify and reclaim safely.

What to measureCommandWhat the result means
Intel app bundledu -sh /Applications/Example.appSpace reclaimed when that app bundle is moved to the Trash and the Trash is emptied.
Related user dataReview matching folders in ~/Library/Application Support and ~/Library/CachesPotential extra space, but verify the bundle identifier and whether you need its settings or offline data.
Rosetta protected dataDo not delete or alter /var/db/oahmacOS owns its lifecycle; it is not a supported cleanup target.

How to find Intel apps on your Mac in 0.02 seconds

On macOS 27 or later, System Settings has an Intel-based Apps list. For a scriptable audit, Spotlight exposes the documented <code>kMDItemExecutableArchitectures</code> metadata field, so <code>mdfind</code> can return indexed Intel-only items. Results and timing depend on the state of the Spotlight index, so confirm important matches with Finder or <code>file</code>.

MethodCommand or GUI pathWhat it shows
System Settings (macOS 27+)System Settings › General › About › Intel-based AppsApple's supported list of recently used Intel apps and apps in common locations.
Spotlight querymdfind "kMDItemExecutableArchitectures == x86_64 && kMDItemExecutableArchitectures != arm64"Indexed items that advertise x86_64 but not arm64. It is fast on the measured Mac, but it is not guaranteed to find unindexed files.
Finder confirmationSelect the app › File › Get Info › KindApplication (Intel), Application (Universal) or Application (Apple silicon).
Running processesActivity Monitor › View › Columns › KindThe architecture of processes that are currently running.

When we ran the <code>mdfind</code> query on this Apple silicon Mac mini, it identified <code>/Applications/Pilotbase.app</code> in 0.02 seconds. Checking its architecture with <code>file /Applications/Pilotbase.app/Contents/MacOS/Pilotbase</code> confirmed it was a pure <code>Mach-O 64-bit executable x86_64</code> binary. Measuring the app on disk revealed a <strong>581 MB</strong> bundle.

What uninstalling an Intel app actually frees

Deleting an Intel app reliably removes the app bundle; replacing it with a Universal or Apple-silicon version also stops that app from relying on Rosetta. Apple's documentation does not promise when a particular translated artifact is removed, and the protected store cannot be mapped safely to an app, so do not count it as immediate reclaimed space. Count what you can measure:

LayerMeasured or observable resultWhat happens after removal or upgrade
Application bundleThe measured Pilotbase bundle occupied 581 MB.Removing that bundle makes 581 MB eligible to be reclaimed after the Trash is emptied. A replacement build has its own size, so subtract that before calling an upgrade a net saving.
User data and cachesVaries by app and account.Not necessarily removed with the app. Review identifiable support and cache folders separately; keep documents and settings you still need.
Rosetta protected dataNo supported per-app figure.macOS manages it. Do not promise or depend on an immediate saving.
MemoryA running app's footprint is visible in Activity Monitor.Quitting or removing the app ends its processes. Compare the Intel and native versions on the same workload if memory use is the reason for upgrading.

Check for a second Intel Homebrew after Migration Assistant

Migration Assistant or an x86_64 Terminal can leave both Intel and Apple-silicon Homebrew installations on one Mac. Homebrew documents <code>/usr/local</code> as the Intel prefix and <code>/opt/homebrew</code> as the Apple-silicon prefix. The old installation's size is not fixed, so measure yours before changing it.

  • Check the active shell and Homebrew: arch, command -v brew and brew --prefix. A native Apple-silicon shell normally reports arm64 and /opt/homebrew.
  • Measure a possible Intel installation: du -sh /usr/local/Cellar /usr/local/Homebrew 2>/dev/null. The output, not a generic range, is the recoverable-space estimate.
  • Before removing it, follow Homebrew's migration advice: use the Intel brew to record its packages with arch -x86_64 /usr/local/bin/brew bundle dump --file=~/intel-Brewfile, reproduce what you still need under the native prefix, test it, and only then use Homebrew's official uninstaller.

Recommended cleanup checklist

  • Audit installed apps: Run the mdfind query, then confirm each app in Finder. Spotlight can omit files that are not indexed.
  • Look for a supported replacement: Use the App Store's update flow, the app's built-in updater or its developer website to find a Universal or Apple-silicon version. Measure the replacement before claiming a storage saving.
  • Universal apps vs Intel slices: Many Universal apps contain both ARM64 and x86_64 slices. While macOS natively executes the ARM64 slice, the dormant Intel slice still takes up physical disk space. See our measurement of Intel slices inside Universal apps for the exact numbers.
  • Clean leftover app data: When uninstalling Intel apps, dragging them to the Trash can leave application support files and caches in your user library. See what dragging apps to Trash leaves behind.

Zofle scans your internal drive, flags oversized application bundles and orphaned application caches in <code>~/Library</code>, and safely moves selected items to the Trash with Undo support.

Zofle identifies large application bundles, orphaned developer caches and hidden disk hogs on macOS, moving selected files safely to the Trash with Undo.

Download Zofle for Mac

Sources and method

Zofle Pro news

People signing up now will get Zofle Pro, with more features, for free when we launch it.

One email when it's ready. No spam, ever.