A tiny macOS menu bar app that shows your current memory usage as a percentage.
- Displays RAM usage percentage in the menu bar
- Updates every 3 seconds
- No dock icon — runs entirely in the menu bar
- Tracks active + wired + compressed memory
Requires Swift 5.9+ and macOS 13+.
swift build -c releaseThe binary will be at .build/release/MemBar.
# Copy to Applications
mkdir -p ~/Applications/MemBar.app/Contents/MacOS
cp .build/release/MemBar ~/Applications/MemBar.app/Contents/MacOS/
cp Info.plist ~/Applications/MemBar.app/Contents/
# Launch
open ~/Applications/MemBar.appCreate ~/Library/LaunchAgents/com.bentley.membar.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.bentley.membar</string>
<key>ProgramArguments</key>
<array>
<string>/Users/YOU/Applications/MemBar.app/Contents/MacOS/MemBar</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>Then load it:
launchctl load ~/Library/LaunchAgents/com.bentley.membar.plist