From lucene-user-return-9980-apmail-jakarta-lucene-user-archive=jakarta.apache.org@jakarta.apache.org Mon Aug 30 10:08:46 2004 Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 84526 invoked from network); 30 Aug 2004 10:08:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Aug 2004 10:08:46 -0000 Received: (qmail 67041 invoked by uid 500); 30 Aug 2004 10:08:18 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 66949 invoked by uid 500); 30 Aug 2004 10:08:15 -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 66873 invoked by uid 99); 30 Aug 2004 10:08:12 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [81.80.239.198] (HELO outbound1.sopragroup.com) (81.80.239.198) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 30 Aug 2004 03:08:10 -0700 Received: by outbound1.sopragroup.com (8.12.10/8.12.10/outbound-A02) with ESMTP id i7UA86Kr001586 for ; Mon, 30 Aug 2004 12:08:06 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C48E79.3E2F97FA" Subject: RemoteSearchable Date: Mon, 30 Aug 2004 12:08:05 +0200 Message-ID: <5933531F07A5144E9E53E1AA45257E4BEEA930@wexchbe03.ancy.fr.sopra> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RemoteSearchable Thread-Index: AcSOeTzFh0hFJBJaRBC8ijSTUkxNmg== From: "Cocula Remi" To: "lucene-user" X-OriginalArrivalTime: 30 Aug 2004 10:16:29.0078 (UTC) FILETIME=[6A1EE360:01C48E7A] X-Scanned-By: MIMEDefang 2.38 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C48E79.3E2F97FA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable When you create a RemoteSearchable object and bind it to the rmi = registry then you can not rebuild the index until the RemoteSearchable = object is bound because the files are used by the RemoteSearchable = object. To fix that , when I want to rebuild my index, I unbind the = RemoteSearchable object and assigns it the value null; But it takes a few minutes to really free the files (probably because = the garbage collector has not yet done it's job). How could I make that the files occupied by the RemoteSearchable object = be free immediatly after unbinding it ? Note : it's not a typicall lucene question but perhaps it concern the = RemoteSearchable class. ------_=_NextPart_001_01C48E79.3E2F97FA--