RE: Huge number of Term objects in memory gives OutOfMemory error

2008-03-18 Thread Richard.Bolen
Does each searchable have it's own copy of Term and TermInfo arrays? So the amount in memory would grow with each new Searchable instance? If so, it might be worthwhile to implement a singleton MultiSearcher that is closed and re-opened periodically. What do you think? Thanks again, Rich ___

Huge number of Term objects in memory gives OutOfMemory error

2008-03-17 Thread Richard.Bolen
I'm running Lucene 2.3.1 with Java 1.5.0_14 on 64 bit linux. We have fairly large collections (~1gig collection files, ~1,000,000 documents). When I try to load test our application with 50 users, all doing simple searches via a web interface, we quickly get an OutOfMemory exception. When I d