Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 45887 invoked from network); 9 Apr 2010 13:14:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 13:14:15 -0000 Received: (qmail 61103 invoked by uid 500); 9 Apr 2010 13:14:14 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 61057 invoked by uid 500); 9 Apr 2010 13:14:14 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 61049 invoked by uid 99); 9 Apr 2010 13:14:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 13:14:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 13:14:11 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D0F41234C1EF for ; Fri, 9 Apr 2010 13:13:50 +0000 (UTC) Message-ID: <1407500359.6331270818830854.JavaMail.jira@brutus.apache.org> Date: Fri, 9 Apr 2010 13:13:50 +0000 (UTC) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Resolved: (LUCENE-2387) IndexWriter retains references to Readers used in Fields (memory leak) In-Reply-To: <484578805.20681270758637425.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-2387. ---------------------------------------- Resolution: Fixed Fix Version/s: 3.1 > 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: 3.1 > > Attachments: 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org