App can’t loading many files as group

I had issue with one Mac app, my college and developer of app don't have this issue. We can't figure which kind of issue with my Macbook Pro.

First, it is MacOS 10.15.5.
bug: i can't load more than 122 files as group.

The issue only when loading all files together as group.
  • I reinstalled new macos, issue doesn't solve it.*

Here is log file of app:
Should be normal way:
Found dictionary:/Users//Downloads/pro/**, added to list

Error part log file: there are many line repeated same. Here is sample of end of file.
Code Block
Open file failed, reason:No such file or directory
Open file failed, reason:No such file or directory
Open file failed, reason:Too many open files
Open file failed, reason:Too many open files
Fail to load dict:/Users//Downloads/pro/***, Error:Fail to open file

Files is ok, if i opened only one file is ok.
I appreciate for helping.
It because Apple system limit open files!
Are there any solution to increase limit of open files?

this method only working for recent mode, if restart, it doesn't work.

Code Block
maxfiles 65536 200000


could you please provide solution?

The best solution:

ref: wilsonmar
  1. Download this two file: https://github.com/wilsonmar/mac-setup/blob/master/configs/limit.maxfiles.plist

https://github.com/wilsonmar/mac-setup/blob/master/configs/limit.maxproc.plist
  1. Copy and Paste this two file in folder /Library/LaunchDaemons/

  2. In terminal write this code:

Code Block
sudo launchctl load -w /Library/LaunchDaemons/limit.maxfiles.plist
sudo launchctl load -w /Library/LaunchDaemons/limit.maxproc.plist


Enter, will ask for user password.

3. In terminal, write:
Code Block
sudo ulimit -n 65536 200000

4. Restart, i will work like a charm! Enjoy
App can’t loading many files as group
 
 
Q