Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 728AB17310 for ; Wed, 18 Mar 2015 16:04:58 +0000 (UTC) Received: (qmail 57949 invoked by uid 500); 18 Mar 2015 16:04:54 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 57874 invoked by uid 500); 18 Mar 2015 16:04:54 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 57854 invoked by uid 99); 18 Mar 2015 16:04:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 16:04:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of apache@elyograg.org designates 166.70.79.219 as permitted sender) Received: from [166.70.79.219] (HELO frodo.elyograg.org) (166.70.79.219) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2015 16:04:48 +0000 Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id 78DAB776E for ; Wed, 18 Mar 2015 10:04:27 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elyograg.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=mail; t=1426694667; bh=J5zo/mr03vP1CpxPmCZ/TEPFIuD5dOFaXCn7TX8wmXE=; b=DtUpNBUzdPIJ ze4V+ocvsRWQFTs8/D+cnGlEMZssIY9Wv514jIJL6OblO0BdwfZTW78EdNoqChiq Xyd6HpgZWoUknoo4x6bIEpWaZY9K2Om0rpYsa789Yvuf2dljwHDg5mJwja4jhdz6 LZ2qVZspQehivoVoSBTOapCojwwM6Kg= X-Virus-Scanned: Debian amavisd-new at frodo.elyograg.org Received: from frodo.elyograg.org ([127.0.0.1]) by localhost (frodo.elyograg.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HpIgd7qK9Nas for ; Wed, 18 Mar 2015 10:04:27 -0600 (MDT) Received: from [10.2.0.108] (client175.mainstreamdata.com [209.63.42.175]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: elyograg@elyograg.org) by frodo.elyograg.org (Postfix) with ESMTPSA id ED52175F5 for ; Wed, 18 Mar 2015 10:04:26 -0600 (MDT) Message-ID: <5509A209.5030001@elyograg.org> Date: Wed, 18 Mar 2015 10:04:25 -0600 From: Shawn Heisey User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Re: Whole RAM consumed while Indexing. References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 3/18/2015 9:44 AM, Nitin Solanki wrote: > I am just saying. I want to be sure on commits difference.. > What if I do frequent commits or not? And why I am saying that I need to > commit things so very quickly because I have to index 28GB of data which > takes 7-8 hours(frequent commits). > As you said, do commits after 60000 seconds then it will be more expensive. > If I don't encounter with **"overlapping searchers" warning messages** then > I feel it seems to be okay. Is it? Even if the commit only handles a single document and it's a soft commit, it is an expensive operation in terms of CPU, and in a garbage-collected environment like Java, memory churn as well. A commit also invalidates the Solr caches, so if you have autowarming turned on, then you have the additional overhead of doing a bunch of queries to warm the new cache - on every single soft commit. Doing commits as often as three times a second (you did say the interval was 300 milliseconds) is generally a bad idea. Increasing the interval to once a minute will take a huge amount of load off of your servers, so indexing will happen faster. Thanks, Shawn