What is your Java max heap size set to?  This is the -Xmx Java option.

Daniel Feinstein wrote:
Hi,
My lucene index is not big (about 150M). My computer has 2G RAM but for some reason when I'm trying to store my index
using org.apache.lucene.store.RAMDirectory it fails with java out of memory 
exception. Also sometimes for the same
search query time spent on search could raise in 10-20 times. For example:
Search one behavior: run one 90 msec, run two 1647 msec, run three 87 Search two behavior: run one 2550 msec, run two 178 msec, run three 179 Search three behavior: run one 113 msec, run two 2744 msec, run three 112 Could somebody explain me the behavior above. Why when my computer has a lot of RAM lucene is not fully loaded to it?
Why I could not use RAMDirectory? Why search time is not stable?
Thanks,
Daniel


--
------------------------------------------------------------------- Grant Ingersoll Sr. Software Engineer Center for Natural Language Processing Syracuse University School of Information Studies 335 Hinds Hall Syracuse, NY 13244 http://www.cnlp.org Voice: 315-443-5484 Fax: 315-443-6886

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to