Guides
Short answers for when your Mac runs low on memory or disk during development. Each one gives the Terminal commands first, so you can fix it by hand.
- Kill the process on port 3000 on a Mac
Find what's listening on port 3000 with lsof, stop it with kill, and what to do when it comes straight back.
- iOS Simulator using too much memory
Find every booted simulator, including the ones with no window, and shut them down with xcrun simctl.
- Gradle daemon memory on a Mac
See how much RAM the Gradle and Kotlin daemons hold, stop them, and cap them in gradle.properties.
- Delete old simulator runtimes in Xcode
List simulator runtimes with xcrun simctl, delete the ones you don't use, and clear the rest of Xcode's leftovers.
- Android emulator slow on a 16 GB Mac
Why the emulator crawls on 16 GB, and the image, RAM and daemon settings that make it usable.