Robert, I'm moving this to lucene-user, which is a more appropriate list for this type of a problem. You are not saying whether you are using some of those handy -X (-Xms -Xmx) command line switches when you invoke your application that dies with OutOfMemoryError. If you are not, try that, it may help. I recall a few other people reporting the same problem and using -Xms and -Xmx solved their problem.
If your machine doesn't have the RAM it needs this won't help, of course :) Otis --- Robert_Wennström <[EMAIL PROTECTED]> wrote: > Hi, > > I'm experiencing OutOfMemoryErrors when searching using many logical > ANDs > combined with prefix queries. > The reason is clearly too many returned hits waiting for combined > evaluation. > > I was wondering if there are any thoughts of changing the search > approach to > something less memory consuming. > This is quite a big problem even with small sets of documents. > > Example: > my 55000 document index runs out of memory when searching for a* AND > e* > > Could you estimate the difficulty to change the behaviour to search > for e* in > just the hits matching a* ? > I'm about to put a BitSet at the innermost hit collection to sort out > AND-clauses that hasn't been matched by previous AND-clauses. > Is there a better approach ? > > > Thanks for a great java project guys > > ____________________________________________ > Robert Wennström [developer, netadmin] > robert -at- agent25.com > www.agent25.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]