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

Adrien Grand commented on LUCENE-8018:
--------------------------------------

Patch looks good to me. I'll just wait some time to give other people the 
opportunity to take a look.

bq. a system with about ~1000 active searchers.

Just in case, if you are talking about searchers over the same directory, you 
could actually share them: IndexSearcher is thread-safe.

> FieldInfos retains garbage if non-sparse
> ----------------------------------------
>
>                 Key: LUCENE-8018
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8018
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/store
>    Affects Versions: 6.5
>         Environment: Lucene 6.5.0, java 8
> openjdk version "1.8.0_45-internal"
> OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
> OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
>            Reporter: Julian Vassev
>              Labels: easyfix, performance
>         Attachments: LUCENE-8018.patch
>
>
> A heap dump revealed a lot of TreeMap.Entry instances (millions of them) for 
> a system with about ~1000 active searchers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to