From solr-user-return-71315-apmail-lucene-solr-user-archive=lucene.apache.org@lucene.apache.org Mon Sep 3 14:55:59 2012 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 73D369B6B for ; Mon, 3 Sep 2012 14:55:59 +0000 (UTC) Received: (qmail 65803 invoked by uid 500); 3 Sep 2012 14:55:56 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 65752 invoked by uid 500); 3 Sep 2012 14:55:56 -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 65744 invoked by uid 99); 3 Sep 2012 14:55:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2012 14:55:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FSL_RCVD_USER,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [178.21.113.82] (HELO mail.openindex.io) (178.21.113.82) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2012 14:55:51 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.openindex.io (Postfix) with ESMTP id 6B88EFC002 for ; Mon, 3 Sep 2012 14:58:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.openindex.io Received: from mail.openindex.io ([127.0.0.1]) by localhost (mail.openindex.io [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cm6x8+PczDvf for ; Mon, 3 Sep 2012 14:58:14 +0000 (UTC) Received: from mail.openindex.io (localhost [127.0.0.1]) by mail.openindex.io (Postfix) with ESMTP id 9BF8DFC001 for ; Mon, 3 Sep 2012 14:58:14 +0000 (UTC) Subject: RE: Solr Not releasing memory From: =?utf-8?Q?Markus_Jelsma?= To: =?utf-8?Q?solr-user=40lucene=2Eapache=2Eorg?= Date: Mon, 3 Sep 2012 14:58:14 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: X-Priority: 3 (Normal) X-Mailer: Zarafa 7.0.7-34256 Message-Id: X-Virus-Checked: Checked by ClamAV on apache.org It would be helpful yo know which memory isn't being released. Is it virtual or physical or shared memory=3F Is it the heap space=3F =20 =20 -----Original message----- > From:Mikhail Khludnev > Sent: Mon 03-Sep-2012 16:52 > To: solr-user@lucene.apache.org > Subject: RE: Solr Not releasing memory >=20 > Rohit, > Which collector do you use=3F Releasing physical ram is possible with > compacting collectors like serial, parallel and maybe g1 and not possible > with cms. The more important thing that releasing is really suspicious and > even odd requrement. Please provide more details about your jvm and overall > challenge. > 03.09.2012 15:03 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Rohit" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > > > I am currently using StandardDirectoryFactory, would switching directory > factory have any impact on the indexes=3F > > > > Regards, > > Rohit > > > > > > -----Original Message----- > > From: Claudio Ranieri [mailto:claudio.ranieri@estadao.com] > > Sent: 03 September 2012 10:03 > > To: solr-user@lucene.apache.org > > Subject: RES: Solr Not releasing memory > > > > Are you using MMapDirectoryFactory=3F > > I had swap problem in linux to a big index when I used > MMapDirectoryFactory. > > You can to try use solr.NIOFSDirectoryFactory. > > > > > > -----Mensagem original----- > > De: Lance Norskog [mailto:goksron@gmail.com] Enviada em: domingo, 2 de > setembro de 2012 22:00 > > Para: solr-user@lucene.apache.org > > Assunto: Re: Solr Not releasing memory > > > > 1) I believe Java 1.7 release memory back to the OS. > > 2) All of the Javas I've used on Windows do this. > > > > Is the physical memory use a problem=3F Does it push out all other programs=3F > > > > Or is it just that the Java process appears larger=3F This explains the > latter: > > http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html > > > > ----- Original Message ----- > > | From: "Rohit" > > | To: solr-user@lucene.apache.org > > | Sent: Sunday, September 2, 2012 1:22:14 AM > > | Subject: Solr Not releasing memory > > | > > | Hi, > > | > > | > > | > > | We are running solr3.5 using tomcal 6.26 on a Windows Enterprise RC2 > > | server, our index size if pretty large. > > | > > | > > | > > | We have noticed that once tomcat starts using/reserving ram it never > > | releases them, even when there is not a single user on the system. I > > | have tried forced garbage collection, but that doesn't seem to help > > | either. > > | > > | > > | > > | Regards, > > | > > | Rohit > > | > > | > > | > > | > > > > >=20