MDict can‘t load more than 122 files as group I had issue with MDict which others or the developer of app can‘t reproduce.
I can't load more than 122 files as groups.
If i using more than 122 dict files, app can't show, it shows fail to open file. The files not corrupt, all of them works for others and developer.
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
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.
First solution to test:
The developer of App found the solution.
This is temporary Solution. Problem cause of apply system limit open file.
sudo launchctl limit maxfiles 65536 200000

More detail here: Maximum limits (macOS etc.)

Newer versions of macOS do not reference the file due to security
considerations.


The best solution:
ref: https://wilsonmar.github.io/maximum-limits/

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

Copy and Paste this two file in folder /Library/LaunchDaemons/
In terminal write this code:


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


Enter, will ask for user password.

In terminal, write:

sudo ulimit -n 65536 200000


Restart, i will work like a charm!