romseygeek opened a new pull request, #15970:
URL: https://github.com/apache/lucene/pull/15970

   TrieBuilder.Node objects are constructed during field merges, and last as 
long as the merge for a given field.  They can use significant heap memory, 
particularly for fields with many long terms (eg fields that store uuids or 
URLs). Two of the member fields on Node are only used at the end of a merge 
when the trie is being written, and so are effectively wasted memory during 
trie construction.
   
   This commit moves these two member fields out of Node onto a separate 
SaveFrame class, which is only built when the trie is saved. This should reduce 
the amount of memory held by Nodes by around a quarter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to