Thank you for the help. It seems that just changing "memory usage" setting to "programs" from default of "system cache" fixed the issue. Now it takes only about 4 GB of system cache instead of 26 GB, and search performance is back to normal (fast).
-----Original Message----- From: Mark Miller [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 10:03 AM To: java-user@lucene.apache.org Subject: Re: windows file system cache Mark Miller wrote: > Mark Miller wrote: >> Robert Stewart wrote: >>> Anyone else run on Windows? We have index around 26 GB in size. >>> Seems file system cache ends up taking up nearly all available RAM >>> (26 GB out of 32 GB on 64-bit box). Lucene process is around 5 GB, >>> so very little left over for queries, etc, and box starts swapping >>> during searches. I think changing file system cache size setting is >>> needed. Anyone else have same issue? >>> >>> >> Hmmm...get more ram :) >> >> Windows 64-bit upped the default file system cache size from 1 gig to >> 1 terabyte. Your feeling the awesome effects of that upgrade I think. >> >> There is an API call ( SetSystemFilecache() ) to override this - so >> perhaps code up a C app to set it before running your Lucene app? >> >> - Mark > You may actually be able to do it from the registry as well: > http://support.microsoft.com/kb/892589 (don't use windows anymore so > havn't confirmed) > > Info showing the change from 1 gig to 1 terabyte: > http://support.microsoft.com/kb/294418 > > You just want to set it to a certain percentage of what you got - > leaving enough to do whatever your lucene app needs to do. Found a great page about the problem using Domino: http://www-1.ibm.com/support/docview.wss?uid=swg21270452 They appear to have compiled all the little bits of info that I have seen elsewhere, and describe the problem being fixed just as you did. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]