You could try adjusting the Windows, MinWorkingSet property, of the process that executes the queries. Refer to the Microsoft documentation for System.Diagnostics, Process.MinWorkingSet - Neal
-----Original Message----- From: Orit Alul [mailto:[email protected]] Sent: Tuesday, March 13, 2012 12:17 PM To: [email protected] Cc: [email protected] Subject: How can we reduce page faults? Hi, We're new to Lucene .net. We're running queries on a pretty small data size ~500K. We're running on windows 7 machine with 8GB RAM. We're using the RAMDirectory. When we're running queries on the data we notice that there are a lot of page faults and CPU usage is only ~20%. Can you please advice ho can we reduce page faults on the expanse of using more RAM? We'd like to improve each query's latency. Please advice, Thanks, Orit
