A lightweight macOS menu bar app for managing system resources
JKiller lives in your menu bar and helps you quickly kill resource-hungry processes and clean up disk space with a single click. No more hunting through Activity Monitor or typing terminal commands.
| Action | Shortcut | Description |
|---|---|---|
| Kill All Java | Cmd+J |
Terminate all Java processes |
| Kill IntelliJ IDEA | Cmd+I |
Stop IntelliJ IDEA and related processes |
| Kill All Gradle | Cmd+G |
Stop all Gradle daemons |
| Kill Xcode & Simulators | Cmd+X |
Stop Xcode, simulators, and build tools |
| Target | Description |
|---|---|
| DerivedData | Clean Xcode's build cache |
| ~/.konan | Remove Kotlin/Native cache |
- Menu Bar — System memory status always visible
- Process Memory — Per-process consumption shown next to each kill option
- Disk Usage — Current sizes displayed for cleanup targets
- macOS 13.0 (Ventura) or later
- Xcode 14+ (for building from source)
# Clone the repository
git clone https://github.com/AYastrebov/JKiller.git
cd JKiller
# Build the app
xcodebuild -scheme JKiller -configuration Release build
# Or open in Xcode
open JKiller/JKiller.xcodeproj- Launch JKiller — it appears in your menu bar
- Click the memory indicator to open the menu
- View real-time memory usage for each process category
- Click any option to kill processes or clean disk space
- Use keyboard shortcuts for quick access
JKiller/
├── JKillerApp.swift # App entry point
├── Services/
│ ├── MemoryMonitor.swift # System memory tracking
│ ├── ProcessMemoryMonitor.swift # Per-process memory
│ ├── DiskMonitor.swift # Disk usage monitoring
│ ├── DiskCleaner.swift # Cleanup operations
│ └── ProcessKiller.swift # Process termination
└── Views/
└── MenuBarView.swift # Main UI
xcodebuild -scheme JKillerTests -destination 'platform=macOS' testContributions are welcome! Feel free to submit issues and pull requests.
This project is licensed under the MIT License — see the LICENSE file for details.
Made with Swift and SwiftUI
