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 ED73F6997 for ; Wed, 1 Jun 2011 16:15:42 +0000 (UTC) Received: (qmail 66246 invoked by uid 500); 1 Jun 2011 16:15:39 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 66196 invoked by uid 500); 1 Jun 2011 16:15:39 -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 66188 invoked by uid 99); 1 Jun 2011 16:15:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 16:15:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=DNS_FROM_RFC_DSN,FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of forward_ua@ukr.net designates 195.214.192.120 as permitted sender) Received: from [195.214.192.120] (HELO fsm1.ukr.net) (195.214.192.120) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 16:15:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Subject:To:Message-ID:From:Date; bh=BOffcrmTsm0urXTTUobHZaNR+TmExb/3c8DgBr9d+Rs=; b=YvlGDKCmayC1aDbHESmAhgQtbMy/J+w0+YM1xxjjYu2RUHVi+WMnAaFfHuD/RqlCd4cYd3ZsAL3biZr4Co5Wr6m3YN8L834mZdj+mmpg7mSp561sTE9mD8kN4m3j4AlLpAhVFwvgdX9Eg263Vh4xdtnhxDK0kGKl511cNpfN9yY=; Received: from 158-133-133-95.pool.ukrtel.net ([95.133.133.158] helo=Denis-PC.mshome.net) by fsm1.ukr.net with esmtpsa ID 1QRo24-000KxI-L8 for solr-user@lucene.apache.org; Wed, 01 Jun 2011 19:12:33 +0300 Date: Wed, 1 Jun 2011 19:15:11 +0300 From: Denis Kuzmenok X-Priority: 3 (Normal) Message-ID: <145339191.20110601191511@ukr.net> To: solr-user@lucene.apache.org Subject: Re: Solr memory consumption In-Reply-To: <1387286856.20110531231829@ukr.net> References: <1387286856.20110531231829@ukr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Here is output after about 24 hours running solr. Maybe there is some way to limit memory consumption? :( test@d6 ~/solr/example $ java -Xms3g -Xmx6g -D64 -Dsolr.solr.home=3D/home/test/solr/example/multicore/ -jar start.jar 2011-05-31 17:05:14.265:INFO::Logging to STDERR via org.mortbay.log.StdErrL= og 2011-05-31 17:05:14.355:INFO::jetty-6.1-SNAPSHOT 2011-05-31 17:05:16.447:INFO::Started SocketConnector@0.0.0.0:4900 # # A fatal error has been detected by the Java Runtime Environment: # # java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate= . Out of swap space? # # Internal Error (allocation.cpp:117), pid=3D17485, tid=3D1090320704 # Error: ChunkPool::allocate # # JRE version: 6.0_17-b17 # Java VM: OpenJDK 64-Bit Server VM (14.0-b16 mixed mode linux-amd64 ) # Derivative: IcedTea6 1.7.5 # Distribution: Custom build (Wed Oct 13 13:04:40 EDT 2010) # An error report file with more information is saved as: # /mnt/data/solr/example/hs_err_pid17485.log # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # Aborted > I run multiple-core solr with flags: -Xms3g -Xmx6g -D64, but i see > this in top after 6-8 hours and still raising: > 17485 test 21 4 10.0g 7.4g 9760 S 308.2 31.3 448:00.75 java > -Xms3g -Xmx6g -D64 > -Dsolr.solr.home=3D/home/test/solr/example/multicore/ -jar start.jar > =20 > Are there any ways to limit memory for sure? > Thanks