-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource limit hit on OSX #101
Comments
Also noticed this issue on fsnotify with no clear solution: howeyc/fsnotify#89 |
Ideal solution I think would be for iBazel to programatically increase the resource limit if it is on OSX for the process when it starts up |
Just realized that the |
I have this problem as well. Is there an issue in the Bazel repo for this now? |
This was fixed by #125 |
In order to get iBazel to work on OSX I needed to increase the resource limit for open files.
Used the approach suggested here: https://superuser.com/questions/827984/open-files-limit-does-not-work-as-before-in-osx-yosemite
This works for OSX 10.13 (High Sierra), however I get warnings whenever running iBazel that look like this:
Warning: failed to raise resource limit 8 to 524288: Invalid argument
Not sure what the best solution is. If a manual resource limit change on OSX is needed then perhaps it should be suggested in the README. From the warning above it seems that iBazel is attempting to increase the resource limit but failing?
There are also side-effects to increasing the resource limit manually as it may break other applications. Adobe Illustrator, for example, doesn't open up anymore for me with the error:
unable to set maximum number of files to be opened
.The text was updated successfully, but these errors were encountered: