是 open files (-n) 256 , 限制最多打开256个文件 on MacOS X Maverick, 运行命令 ulimit -a ,就能看到,只要随便过一会 调试studio 就报错。
Open files 256
不是系统最大打开文件数,而是每个进程。估计调试的时候studio 进程打开太多文件了。【settings for the maximum number of open files for the kernal and per-process were far lower than what the defaults should be】