Skip to content

Commit 58a496a

Browse files
docs: Add file limit command for macOS (#430)
The README only showed the command to raise the limit on the number of open files. I added the command for macOS, as it can be difficult to find.
1 parent ee6fda7 commit 58a496a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,9 @@ DELETED: Please use packer.nvim or other lua-rocks wrapper instead. This no long
391391
### FAQ
392392

393393
1. Error: Too many open files
394+
394395
- \*nix systems have a setting to configure the maximum amount of open file
395-
handles. It can occur that the default value is pretty low and that you end
396-
up getting this error after opening a couple of files. You can see the
397-
current limit with `ulimit -n` and set it with `ulimit -n 4096`. (macos might
398-
work different)
396+
handles. It can occur that the default value is pretty low and that you end up
397+
getting this error after opening a couple of files. On Linux you can see the
398+
current limit with `ulimit -n` and set it with `ulimit -n 4096`. If you're on
399+
macOS the command is `sudo launchctl limit maxfiles 4096 4096`.

0 commit comments

Comments
 (0)