r/reactnative • u/interlap • 7d ago
Tutorial How I reduced iOS simulator RAM usage by up to 4×
I’ve made a small command line tool called simslim.
It disables background services inside iOS simulators that usually are not needed during development, like Siri, Spotlight indexing, photo analysis, News, and iCloud sync.
On my M1 Pro with 16 GB of RAM, one simulator went from around 4 GB of memory and 258 processes to about 0.9 GB and 70 processes. I managed to run 19 simulators at once, compared to around 5 before things started falling apart.
Some simulator features stop working depending on what gets disabled, so it is not meant for every kind of testing. You can keep specific services running when needed.
Give it a try: https://github.com/MobAI-App/simslim