Skip to content

Instantly share code, notes, and snippets.

@trevorgerhardt
Last active November 21, 2015 04:08
Show Gist options
  • Save trevorgerhardt/40e944e63dee3ee1779f to your computer and use it in GitHub Desktop.
Save trevorgerhardt/40e944e63dee3ee1779f to your computer and use it in GitHub Desktop.
Script for Macs when file limit is hit when building large projects with component
echo 'kern.maxfiles=20480' | sudo tee -a /etc/sysctl.conf
echo 'limit maxfiles 8192 20480\nlimit maxproc 1000 2000' | sudo tee -a /etc/launchd.conf
echo 'ulimit -n 4096' | sudo tee -a /etc/profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment