lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shay Banon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2387) IndexWriter retains references to Readers used in Fields (memory leak)
Date Tue, 04 May 2010 22:10:08 GMT

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

Shay Banon commented on LUCENE-2387:
------------------------------------

Is there a chance that this can also be applied to 3.0.2 / 3.1? It would be really helpful
to get this as soon as possible in the next Lucene version.


> IndexWriter retains references to Readers used in Fields (memory leak)
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-2387
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2387
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Ruben Laguna
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-2387-29x.patch, LUCENE-2387.patch
>
>
> As described in [1] IndexWriter retains references to Reader used in Fields and that
can lead to big memory leaks when using tika's ParsingReaders (as those can take 1MB per ParsingReader).

> [2] shows a screenshot of the reference chain to the Reader from the IndexWriter taken
with Eclipse MAT (Memory Analysis Tool) . The chain is the following:
> IndexWriter -> DocumentsWriter -> DocumentsWriterThreadState -> DocFieldProcessorPerThread
 -> DocFieldProcessorPerField -> Fieldable -> Field (fieldsData) 
> -------------
> [1] http://markmail.org/thread/ndmcgffg2mnwjo47
> [2] http://skitch.com/ecerulm/n7643/eclipse-memory-analyzer

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message