Kept getting this message on my work MBP:
Then found that there was a folder called ‘cores’ that was full of 278GB of dumps!
Once I deleted them on Terminal they kept reappearing so had to use this command:
sudo launchctl limit core 0 0 sudo sysctl -w kern.coredump=0
But this won’t be persisted through a restart. To do so create a new file on
/etc/sysctl.conf (if it does not exist yet) and write in the following configuration: