On Sat, Dec 15, 2012 at 1:11 PM, S L <sol.leder...@gmail.com> wrote:
> My virtual machine has 6GB of RAM. Tomcat is currently configured to use 4GB
> of it. The size of the index is 5.4GB for 3 million records which averages
> out to 1.8KB per record. I can look at trimming the data, having fewer
> records in the index to make it smaller, or getting more memory for the VM.
>
> I'll look at 4.x. And, I'll make the caches and java heap smaller and see
> what happens. Re SSDs, I don't control the VM or the storage attached to it
> but I get the idea - if I can get the index to be all in memory or on a
> really fast disk then I will be happier.
>
> Is there an easy way to tell if the index is all in memory, other than that
> all my queries return quickly?

Pretty much you just make sure that your index *can* all fit in memory
(i.e. that the free memory the OS has is >= to your index).
The OS will eventually take care of the rest.

-Yonik
http://lucidworks.com

Reply via email to