[ 
https://issues.apache.org/jira/browse/SOLR-12233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441896#comment-16441896
 ] 

Jeff Miller edited comment on SOLR-12233 at 4/18/18 4:54 AM:
-------------------------------------------------------------

In our use case we're loading some 60,000 solrcore objects over 4ish hours and 
this was one of the high items in the profiling,  the other being creating the 
handlers which is a whole other problem (the amount doubled since solr.4 days). 
Luckily we aren't using half and can just disable them.

 

*Edit. - I should probably mention these are transient cores, meaning the 
SolrCore objects are destroyed based on eldest once we hit a threshold, meaning 
we recreate the core objects a lot in some scenarios.


was (Author: millerjeff0):
In our use case we're loading some 60,000 solrcore objects over 4ish hours and 
this was one of the high items in the profiling,  the other being creating the 
handlers which is a whole other problem (the amount doubled since solr.4 days). 
Luckily we aren't using half and can just disable them.

> 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
>            Assignee: Erick Erickson
>            Priority: Minor
>              Labels: Performance, qparserplugin
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to