Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 8937 invoked from network); 25 Aug 2010 21:41:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Aug 2010 21:41:47 -0000 Received: (qmail 27566 invoked by uid 500); 25 Aug 2010 21:41:45 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 27504 invoked by uid 500); 25 Aug 2010 21:41:44 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 27496 invoked by uid 99); 25 Aug 2010 21:41:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Aug 2010 21:41:44 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [85.25.71.29] (HELO mail.troja.net) (85.25.71.29) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Aug 2010 21:41:36 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id 7FB4545E019 for ; Wed, 25 Aug 2010 23:41:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.troja.net Received: from mail.troja.net ([127.0.0.1]) by localhost (megaira.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LOqAm75uPrt4 for ; Wed, 25 Aug 2010 23:41:12 +0200 (CEST) Received: from VEGA (dslb-088-065-077-242.pools.arcor-ip.net [88.65.77.242]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTPSA id 2E49245E018 for ; Wed, 25 Aug 2010 23:41:12 +0200 (CEST) From: "Uwe Schindler" To: References: <4C757C48.5010909@fastmail.fm> <00c901cb4496$09164a30$1b42de90$@thetaphi.de> <4C758335.7010107@fastmail.fm> <00cb01cb449a$0859db30$190d9190$@thetaphi.de> <4C758AC7.1030006@fastmail.fm> In-Reply-To: <4C758AC7.1030006@fastmail.fm> Subject: RE: Blocking on IndexSearcher search Date: Wed, 25 Aug 2010 23:42:40 +0200 Message-ID: <000901cb449e$7194cd90$54be68b0$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 thread-index: AQJw3bIXxdpKu+hq+zCLZu1rZxjlQwLNQ3t/AmI1r7UDLbQoKQJ37MCCkVDYBcA= Content-language: de > Im using Windows and I'll try NIO, good idea, my app is already memory > hungry in other areas so I guess MMapped is a no go, doe sit use heap or perm > memory ? It uses address space for mapping the files into virtual memory (like a swap file) - this is why it only works well for 64bit VMs. The used physical memory depends on your OS cache configuration. Java Heap is not used for that (in contrast to copying a file to a RAMDirectory). Uwe --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org