Post

Replies

Boosts

Views

Activity

Reply to No Longer Able to Increase Maxfile Limits MacOS Recent Versions
Nothing above worked for me so far. I was able change the limit using workaround launchctl limit maxfiles 256 unlimited launchctl limit maxfiles 128000 524288 and than fire my IntelliJ from that shell, and I still get the same error. Only thing that works for me boot into recovery mode - shut down the computer, press power button and keep holding it until Options appear, select Options, Continue Select drive and login open Terminal from menu and run: csrutil clear shutdown and return to the recovery mode like before open Terminal from menu and run: csrutil disable restart (into normal mode) create /Library/LaunchDaemons/limit.maxfiles.plist restart again Here's what should be in limit.maxfiles.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>limit.maxfiles</string> <key>ProgramArguments</key> <array> <string>launchctl</string> <string>limit</string> <string>maxfiles</string> <string>128000</string> <string>524288</string> </array> <key>RunAtLoad</key> <true/> <key>ServiceIPC</key> <false/> </dict> </plist> After disabling security policy, I can not run iOS applications, which is quite an inconvenience for me. Still looking for a workaround...
Sep ’23