Rosetta 2 on Apple silicon: the translation cache in /var/db/oah and what removing Intel apps frees
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/oahis protected system data: On the measured Mac,ls -ldO /var/db/oahreported owner_oahdand therestrictedflag. An ordinaryduor 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 measure | Command | What the result means |
|---|---|---|
| Intel app bundle | du -sh /Applications/Example.app | Space reclaimed when that app bundle is moved to the Trash and the Trash is emptied. |
| Related user data | Review matching folders in ~/Library/Application Support and ~/Library/Caches | Potential extra space, but verify the bundle identifier and whether you need its settings or offline data. |
| Rosetta protected data | Do not delete or alter /var/db/oah | macOS 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>.
| Method | Command or GUI path | What it shows |
|---|---|---|
| System Settings (macOS 27+) | System Settings › General › About › Intel-based Apps | Apple's supported list of recently used Intel apps and apps in common locations. |
| Spotlight query | mdfind "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 confirmation | Select the app › File › Get Info › Kind | Application (Intel), Application (Universal) or Application (Apple silicon). |
| Running processes | Activity Monitor › View › Columns › Kind | The 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:
| Layer | Measured or observable result | What happens after removal or upgrade |
|---|---|---|
| Application bundle | The 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 caches | Varies 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 data | No supported per-app figure. | macOS manages it. Do not promise or depend on an immediate saving. |
| Memory | A 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 brewandbrew --prefix. A native Apple-silicon shell normally reportsarm64and/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
mdfindquery, 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 MacSources and method
- Apple Platform Security: Rosetta 2 on a Mac with Apple silicon — AOT and JIT paths, artifact signing and the protected Rosetta Data Vault.
- Apple Support: Using Intel-based apps on a Mac with Apple silicon — Finder and System Settings identification steps, supported update guidance and Rosetta availability.
- Apple Developer Documentation: kMDItemExecutableArchitectures — the Spotlight metadata field used by the
mdfindquery. - Homebrew documentation: Multiple Homebrew installations — architecture checks and the safe migration sequence.
- Local measurements were performed on 29 November 2026 on an Apple M4 Mac mini running macOS 27.2.1. The Spotlight query found
/Applications/Pilotbase.appin 0.02 seconds;filereported its executable as x86_64, anddu -skmeasured its bundle at 581 MB. These are one-machine observations, not universal performance or cache-size estimates.
Zofle Pro news
People signing up now will get Zofle Pro, with more features, for free when we launch it.