lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-8855) Add Accountable to Query implementations
Date Wed, 19 Jun 2019 16:58:00 GMT

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

Andrzej Bialecki  commented on LUCENE-8855:
-------------------------------------------

Updated patch:
 * includes RamUsageEstimator improvements from previous patch
 * uses QueryVisitor for traversing the Query tree
 * adds Accountable to some of the classes that may be larger than default estimate
 * similarly, adds Accountable to Queries that may be much larger than the default estimate
(10x or more).

> Add Accountable to Query implementations
> ----------------------------------------
>
>                 Key: LUCENE-8855
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8855
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>         Attachments: LUCENE-8855.patch, LUCENE-8855.patch, LUCENE-8855.patch
>
>
> Query implementations should also support {{Accountable}} API in order to monitor the
memory consumption e.g. in caches where either keys or values are {{Query}} instances.



--
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


Mime
View raw message