lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Memory question
Date Tue, 15 May 2012 15:19:43 GMT
In versions from 3.3 onwards MMapDirectory is the default on 64-bit
linux.  Not sure exactly what that means wrt your questions, but may
well be relevant.


--
Ian.


On Tue, May 15, 2012 at 3:51 PM, Lutz Fechner <LFechner@hubwoo.com> wrote:
> Hi,
>
>
> By design memory outside the JVM heap space should not be accessible for
> java applications.
>
> Why you might see is the disc cache of the Linux storage subsystem.
>
>
> Best Regards
>
> Lutz
>
> -----Original Message-----
> From: Chris Bamford [mailto:chris.bamford@talktalk.net]
> Sent: Dienstag, 15. Mai 2012 09:47
> To: java-user@lucene.apache.org
> Subject: Memory question
>
> Hi
>
> Can anyone tell me what happens to the memory when Lucene opens an
> index?  Is it loaded into the JVM's heap or is it mapped into virtual
> memory outside of it?
> I am running on Linux and if I use pmap on the PID of my JVM, I can see
> lots of entries for index cfs files.
>
> Does this mean that indexes are mapped into non-heap memory?  If so, how
> can I monitor the space my process is using if I cache open
> IndexSearchers?
>
> The details are:
>
> Sun 64-bit JVM on Linux.
> Lucene 3.6 running in 2.3 compatibility mode (as we are in the in the
> process of a migration to 3.6)
>
> Thanks,
>
> - Chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message