Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 80112 invoked from network); 4 Mar 2011 09:27:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Mar 2011 09:27:47 -0000 Received: (qmail 39951 invoked by uid 500); 4 Mar 2011 09:27:45 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 39911 invoked by uid 500); 4 Mar 2011 09:27:45 -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 39876 invoked by uid 99); 4 Mar 2011 09:27:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 09:27:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of buz.prav@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vx0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2011 09:27:37 +0000 Received: by vxi40 with SMTP id 40so2345322vxi.35 for ; Fri, 04 Mar 2011 01:27:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=eAoC3DptKbfHMXRUFK1i+qMxJX9UOroAw2A/AJZKqt4=; b=sIY8msBDOiQ1AIR6jigcMDX4/nbxR0cSHGm/SxYyLNDgB+D+/ND5y+OJpGl9ZrataA FKR148sUeVBBln8j6z2O+VzfuyuEyXOnMmxGArBwVQcjr4xsyV4emYCIixyzRcK99kVT D0hdBtAFkqHQnoT952JG1ZOZ9kxa9RUz+qaD0= 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=L1KyGzleFRyjcYSXdpw/LrLzZvJe9rnM9Enym70Kw9dnjzfZpVQUQJZGwU3BfSll8d EYstXYGN7KCHpgq5DHJqIgQTqhXd+NvDpvR/pd19l4F/OLlfahY/DYZ8cTwJd3I46+ZH 8cYAh5Y9yql8CrrQRklPHJWzkkzNOSlW5XWfk= MIME-Version: 1.0 Received: by 10.220.75.21 with SMTP id w21mr112394vcj.137.1299230836977; Fri, 04 Mar 2011 01:27:16 -0800 (PST) Received: by 10.220.186.141 with HTTP; Fri, 4 Mar 2011 01:27:16 -0800 (PST) In-Reply-To: <1299225296.20568.1426099397@webmail.messagingengine.com> References: <1299225296.20568.1426099397@webmail.messagingengine.com> Date: Fri, 4 Mar 2011 14:57:16 +0530 Message-ID: Subject: Re: Out of memory while creating indexes From: Praveen Parameswaran To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=0016e6475eb484efc3049da4c0b9 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6475eb484efc3049da4c0b9 Content-Type: text/plain; charset=ISO-8859-1 Hi , post.sh is using curl as I see , will that be helpful? On Fri, Mar 4, 2011 at 1:24 PM, Upayavira wrote: > post.jar is intended for demo purposes, not production use, so it > doesn;t surprise me you've managed to break it. > > Have you tried using curl to do the post? > > Upayavira > > On Thu, 03 Mar 2011 17:02 -0500, "Solr User" wrote: > > Hi All, > > > > I am trying to create indexes out of a 400MB XML file using the following > > command and I am running into out of memory exception. > > > > $JAVA_HOME/bin/java -Xms768m -Xmx1024m -*Durl*=http://$SOLR_HOST > > SOLR_PORT/solr/customercarecore/update -jar > > $SOLRBASEDIR/*dataconvertor*/common/lib/post.jar > > $SOLRBASEDIR/dataconvertor/customercare/xml/CustomerData.xml > > > > I am planning to bump up the memory and try again. > > > > Did any one ran into similar issue? Any inputs would be very helpful to > > resolve the out of memory exception. > > > > I was able to create indexes with small file but not with large file. I > > am > > not using Solr J. > > > > Thanks, > > Solr User > > > --- > Enterprise Search Consultant at Sourcesense UK, > Making Sense of Open Source > > --0016e6475eb484efc3049da4c0b9--