lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheng <zhoucheng2...@gmail.com>
Subject RAMDirectory unexpectedly slows
Date Mon, 04 Jun 2012 14:08:08 GMT
Hi,

My apps need to read from and write to some big indexes frequently. So I
use RAMDirectory instead of FSDirectory, and give JVM about 2GB memory
size.

I notice that the speed of reading and writing unexpectedly slows as the
size of the indexes increases. Since the usage of RAM is less than 20%, I
think by default the RAMDirectory doesn't take advantage of the memory I
assigned to JVM.

What are the steps to improve the reading and writing speed of
RAMDirectory?

Thanks!
Jeff

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message