I experienced large memory usage with more than 2.5GB memory used after the init.
After it the init the spell check were fast (few ms only), so that's not a problem.
Tested with the hungarian language's latest hunspell dictionaries found at: https://github.com/wooorm/dictionaries/tree/main/dictionaries/hu
I found the problem might be in the "affix precalculation" phase, because the hungarian language has a lot of suffixes.
I experienced large memory usage with more than 2.5GB memory used after the init.
After it the init the spell check were fast (few ms only), so that's not a problem.
Tested with the hungarian language's latest hunspell dictionaries found at: https://github.com/wooorm/dictionaries/tree/main/dictionaries/hu
I found the problem might be in the "affix precalculation" phase, because the hungarian language has a lot of suffixes.