Following command helped me out.
Try pasting the below command in the terminal and it should solve your problem.
sudo launchctl limit maxproc 2000 2500
Following command helped me out.
Try pasting the below command in the terminal and it should solve your problem.
sudo launchctl limit maxproc 2000 2500