Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 96011 invoked from network); 27 Nov 2006 22:34:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 22:34:07 -0000 Received: (qmail 31828 invoked by uid 500); 27 Nov 2006 22:34:10 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 31804 invoked by uid 500); 27 Nov 2006 22:34:10 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 31786 invoked by uid 99); 27 Nov 2006 22:34:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 14:34:10 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.86.89.66] (HELO elasmtp-spurfowl.atl.sa.earthlink.net) (209.86.89.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 14:33:57 -0800 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=IqXlmZNvuGFL5xRGf9Eke4hgI3M0FPplX1djrXDqeg21KBVi29P8S8uqvob2vTZh; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [69.209.60.221] (helo=[192.168.1.64]) by elasmtp-spurfowl.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1Gop2d-0007AJ-Jj for java-dev@lucene.apache.org; Mon, 27 Nov 2006 17:33:35 -0500 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <29108789.1164666384510.JavaMail.jira@brutus> References: <29108789.1164666384510.JavaMail.jira@brutus> Content-Type: multipart/alternative; boundary=Apple-Mail-8--471462858 Message-Id: <33594CF2-52AA-4F9C-A569-E0C4346A2FE7@ix.netcom.com> From: robert engels Subject: Re: [jira] Commented: (LUCENE-727) MMapDirectory can't create new index on Windows Date: Mon, 27 Nov 2006 16:33:34 -0600 To: java-dev@lucene.apache.org X-Mailer: Apple Mail (2.752.3) X-ELNK-Trace: 33cbdd8ed9881ca8776432462e451d7bd15d05d9470ff710835db14f871a8714e21b01963cf92859350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.209.60.221 X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-8--471462858 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed This is a known JDK issue with memory mapping a file. The references may not be GC'd at the time the request to delete is performed, and thus you will get an IOException. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4715154 On Nov 27, 2006, at 4:26 PM, Hoss Man (JIRA) wrote: > [ http://issues.apache.org/jira/browse/LUCENE-727? > page=comments#action_12453726 ] > > Hoss Man commented on LUCENE-727: > --------------------------------- > > Can you inlcude a full stack trace of the exception so we can see > what code path causes this problem? > > it would be even better if you could inlcude a JUnit test > demonstrating the problem. > >> MMapDirectory can't create new index on Windows >> ----------------------------------------------- >> >> Key: LUCENE-727 >> URL: http://issues.apache.org/jira/browse/LUCENE-727 >> Project: Lucene - Java >> Issue Type: Bug >> Components: Index >> Affects Versions: 2.0.0 >> Environment: Windows XP, JDK 1.4 >> Reporter: benson margulies >> >> When I set the system property to request the use of the mmap >> directory, and start building a large index, the process dies with >> an IOException trying to delete a file. Apparently, Lucene isn't >> closing down the memory map before deleting the file. > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the > administrators: http://issues.apache.org/jira/secure/ > Administrators.jspa > - > For more information on JIRA, see: http://www.atlassian.com/ > software/jira > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > --Apple-Mail-8--471462858--