NASA-PDS / ds-view

Data Set View application (pds.nasa.gov/ds-view)
Apache License 2.0
0 stars 0 forks source link

Fix memory leaks with Solr client connections for Solr 9 #16

Closed jordanpadams closed 10 months ago

jordanpadams commented 10 months ago

Fix memory leaks for solr connection left open.

Not sure why this wasn't an issue before. Maybe Tomcat would kill these threads after so long, and since we are getting pummeled with queries, the threads didn't have a chance to die.

Either way, closing the solr client connections each time seems to fix it.

Cherry-picked from hotfix/2.14.4 branch and v2.14.4 release

Fixes #14 Refs #15

See #15 for more details