Application startup takes an exceptionally long time (french resources only?)

We use LanguageTool to correct German and French texts. We added our own word material (added custom/spelling custom). Although the material for both languages contains nearly the same amount of words, the startup of LanguageTool.jar takes exceptionally long time if French text language is chosen. On narrower computers sometimes it even crashes with an memory exception.

size of spelling_custom FR = 14.819.328 bytes

Are there any known limits to custom file length?

There’s no limit, but it’s also not optimized for large files. Does it get faster if the JVM is assigned more memory (e.g. using -Xmx16GB)?

Yes. Thanks.