You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jeff Miller (JIRA)" <ji...@apache.org> on 2018/04/17 22:24:00 UTC
[jira] [Created] (SOLR-12233) QParserPlugin maintains a list of
classes recreated every time a Solrcore object is created
Jeff Miller created SOLR-12233:
----------------------------------
Summary: QParserPlugin maintains a list of classes recreated every time a Solrcore object is created
Key: SOLR-12233
URL: https://issues.apache.org/jira/browse/SOLR-12233
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Affects Versions: 7.1.1
Reporter: Jeff Miller
QParserPlugin maintains a static map of Class Names to Class objects and everytime we create a SolrCore object this causes a lot of overhead doing classloader lookups. Our system runs a lot of cores and the classloader gets bogged down when a lot of threads are creating solrcore objects.
There's no need to create these objects every time, similar classes such as
TransformerFactory store the object one time and reference it over and over again
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org