From java-user-return-39483-apmail-lucene-java-user-archive=lucene.apache.org@lucene.apache.org Fri Apr 03 12:14:49 2009 Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 37710 invoked from network); 3 Apr 2009 12:14:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 12:14:48 -0000 Received: (qmail 24008 invoked by uid 500); 3 Apr 2009 12:14:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 23941 invoked by uid 500); 3 Apr 2009 12:14:46 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 23931 invoked by uid 99); 3 Apr 2009 12:14:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 12:14:46 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erickerickson@gmail.com designates 74.125.92.26 as permitted sender) Received: from [74.125.92.26] (HELO qw-out-2122.google.com) (74.125.92.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 12:14:39 +0000 Received: by qw-out-2122.google.com with SMTP id 8so774370qwh.53 for ; Fri, 03 Apr 2009 05:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=dkjfjQBMEPoBAKUNd6Pnr4UZqUU1T5opxk+dvzzrziM=; b=uq6kn9bKnwhOzWD5yoCND4dG4Qt9Nedqo/EJRADxvf7EL1Jdeo3OB3N9PZLXAwTSua gYw3YynhIsnNWxMB1p+BXC6PhUN2rM/n5luOY51FN/gsb2VcslkC2y4uzcECt2dXo7WE Vihw0lGiWlbR1wASXlBcemvQlWjDHjjexzMY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZU0i0CPI/GzU/eteAU21EohFBAlYz1MDJD816OqVloyhYndg/9iG2vZE28OyEjTKue 57dHKbVVDtMZzSAUHjXVSSpcsRBSzE+gmumU9ascfg80T4B16yiGF39W2WtCSYQv9euR A+RTf3UH7Z4+msfUXXm4TGUZ4VPb0G2UKuhjI= MIME-Version: 1.0 Received: by 10.220.74.3 with SMTP id s3mr1490864vcj.54.1238760858699; Fri, 03 Apr 2009 05:14:18 -0700 (PDT) In-Reply-To: <49D5EF6C.6080805@propylon.com> References: <49D5EF6C.6080805@propylon.com> Date: Fri, 3 Apr 2009 08:14:18 -0400 Message-ID: <359a92830904030514j3a46cdbbvb251bc3ad1d33075@mail.gmail.com> Subject: Re: HeapedScorerDoc using all my memory From: Erick Erickson To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=0016362850fef1cc9b0466a57c3b X-Virus-Checked: Checked by ClamAV on apache.org --0016362850fef1cc9b0466a57c3b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit How much memory are you allocating for the JVM? And what are your various indexwriter settings (e.g. MaxBufferedDocs, MaxMergeDocs, etc). Have you tried different settings in setRamBufferSizeMB? Best Erick On Fri, Apr 3, 2009 at 7:13 AM, John Byrne wrote: > Hi, I'm having a problem where the JVM runs out of memory while indexing a > large number of files. An analysis of the heapdump shows that most of the > memory was taken up with > "org/apache/lucene/util/ScorerDocQueue$HeapedScorerDoc". > > I can't find any leaks in my code so far, and I was wondering, are there > any known problems with this class that could leak memory? > > I'm using version 2.3.1. > > Thanks! > > -John > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --0016362850fef1cc9b0466a57c3b--