If you load it explicitly, then all 800 MB will make it into RAM.
It's easy to try, the API for this is super simple.
Otis
--- [EMAIL PROTECTED] wrote:
Does it take 800MB of RAM to load that index into a
RAMDirectory? Or are only some of the files loaded into RAM?
--- Otis Gospodnetic
Thanks a lot. I'll use RAMDirectory and post my results.
-Original Message-
From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 9:09 AM
To: Lucene Users List
Subject: Re: Search scalability
If you load it explicitly, then all 800 MB will make it into RAM
Hello,
100 parallel searches going against a single index on a single disk
means a lot of disk seeks all happening at once. One simple way of
working around this is to load your FSDirectory into RAMDirectory.
This should be faster (could you report your
observations/comparisons?). You can also
Does it take 800MB of RAM to load that index into a
RAMDirectory? Or are only some of the files loaded into RAM?
--- Otis Gospodnetic [EMAIL PROTECTED] wrote:
Hello,
100 parallel searches going against a single index on a single
disk
means a lot of disk seeks all happening at once. One