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

Michael McCandless commented on LUCENE-8703:
--------------------------------------------

It'd be nice to have a metric in our nightly points benchmarks measuring how 
much heap was required while building the index.

> Build point writers only when needed on the BKD tree
> ----------------------------------------------------
>
>                 Key: LUCENE-8703
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8703
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ignacio Vera
>            Priority: Major
>         Attachments: LUCENE-8703.patch, LUCENE-8703.patch, LUCENE-8703.patch
>
>
> With the introduction of LUCENE-8699, I have realised the BKD tree uses quite 
> a lot of heap even when it is not needed, for example for 1D points. 
> In this issue I propose to create point writers only when needed. In addition 
> I propose to create PointWriters based on the estimated point count given in 
> the constructor. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to