ltex-ls spawning too many forks/using too many threads #312
Labels
1-bug 🐛
Issue type: Bug report (something isn't working as expected)
2-unconfirmed
Issue status: Bug that needs to be reproduced (all new bugs have this label)
Describe the bug
When I check in htop I see that ltex-ls is spawning many threads, about 100. It seems that this plugin is not told to limit itself to 4.
Steps to reproduce
Open a Markdown file and let this plugin start spawning threads in a machine with many cores. Then go to htop and filter using
F4
and typeltex-ls
. Then typeH
(capital H) to show the threads.Expected behavior
the plugin should take 2 or at most 4 threads
Sample document
If the bug occurs for a specific document (e.g. LaTeX), please paste it here. If your document is very long or confidential, please create and attach a smaller example for which the bug still occurs so that we can reproduce it.
LTeX configuration
Please paste all configuration settings starting with
ltex.
from yoursettings.json
. You can help us by temporarily removing some irrelevant settings from yoursettings.json
and see if the bug still occurs.LTeX LS log
Paste the log (output) of LTeX LS here:
Version information
List here the version information of the relevant software.
java -version
)Additional context/information
You can add any other context or information about the problem here.
The text was updated successfully, but these errors were encountered: