[ https://issues.apache.org/jira/browse/LUCENE-9478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer resolved LUCENE-9478. ------------------------------------- Fix Version/s: 8.6.2 8.7 master (9.0) Lucene Fields: New,Patch Available (was: New) Assignee: Simon Willnauer Resolution: Fixed > DWPTDeleteQueue leaks memory > ---------------------------- > > Key: LUCENE-9478 > URL: https://issues.apache.org/jira/browse/LUCENE-9478 > Project: Lucene - Core > Issue Type: Bug > Affects Versions: master (9.0), 8.7, 8.6.1 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Priority: Blocker > Fix For: master (9.0), 8.7, 8.6.2 > > Time Spent: 2h 20m > Remaining Estimate: 0h > > We introduced a broken behavior that leaks memory in DWPTDeleteQueue recently > (LUCENE-9304) The line > [here|https://github.com/apache/lucene-solr/blob/18af6325ed98b50c23a1f026ab9d05f17039c731/lucene/core/src/java/org/apache/lucene/index/DocumentsWriterDeleteQueue.java#L594-L596] > tries to be smart and even adds a comment that the current impl is safe but > it isn't if you reference a final member in a lambda it references _this_ > which holds on to the object. I think we need to do a quick 8.6.2 for this. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org