My Java program runs under linux and indexes several directories (that are mounted via samba from different windows servers) with SOLR 7.4. It updates the different indexes (one index per indexed directory) one after the other and loops back infinitely.
While running on my dev machine I attached VisualVM to it and saw that the number of threads keeps increasing :
I understand from this post that it has something to do with memory leak (that I am also trying to find).
VisualVM shows that Connection evictor threads keep accumulating and are all in sleeping state :
But this post tells that sleeping threads won't add any load to the system (because they are idle), so they will not cause memory leak.
So my questions are :
Should I consider this behaviour as a problem, and if so where should I look at in the source code since I don't use http connection (which I read uses connection evictor) as all directories are locally mounted by the OS ?
Any help appreciated ;-)