Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 90325 invoked from network); 20 Aug 2004 16:46:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Aug 2004 16:46:11 -0000 Received: (qmail 95884 invoked by uid 500); 20 Aug 2004 16:46:03 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 95794 invoked by uid 500); 20 Aug 2004 16:46:03 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 95779 invoked by uid 99); 20 Aug 2004 16:46:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [160.62.1.169] (HELO fw-mail12.novartis.com) (160.62.1.169) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 20 Aug 2004 09:45:59 -0700 Received: from mtap1.is.chbs ([192.37.33.20]) by fw-mail12.novartis.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id i7KGjvJK14688446 for ; Fri, 20 Aug 2004 18:45:57 +0200 Received: from phchbs-s3025.EU.novartis.net (phchbs-s3025.eu.novartis.net [192.37.31.249]) by mtap1.is.chbs (Switch-3.1.6/Switch-3.1.0) with ESMTP id i7KGjuYv13164598 for ; Fri, 20 Aug 2004 18:45:56 +0200 Subject: memory leek in lucene? To: "Lucene Users List" Message-ID: From: iouli.golovatyi@group.novartis.com Date: Fri, 20 Aug 2004 18:45:55 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Doing query against lucene I run into memomry problem, i.e. it's look like it's not giving memory back after the query have been executed. I use ParallelMultiSearcher ant call close method after results are displayed. .... hits=null; // Hits class if (ms!=null) ms.close(); //ParallelMultiSearcher .... Doesn't help. The memory getting not free. On queries like "No*" I get incremental memory consume of c. 20-70mb. per query. Imagine what happens with my web server... I tried also from command line and got the similar result. Am I doing wrong or miss something? Please help, I use 1.4.1 on linux box. Joel --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org