  | |  | Lucene1.4.1 + OutOf Memory | Lucene1.4.1 + OutOf Memory 2004-11-10 - By Karthik N S
Back Hi Guy's
Apologies.........
That's Why Somebody on the form asked me to Switch to
: 40 Mergerd Indexes [1000 subindexes each] + MultiSearcher / ParallelSearcher + Search on Content Field Only for 20000
the problem of to many Files open was solved since now there were only 40 MergerIndexes - [1 MergerIndex has 1000 sub indexes]
instead of 40000 subindexes.
Now I am gettinf Out of Memory Exception.........
Any Idea On how to Solve this problem.
Thx in Advance
-- --Original Message-- -- From: iouli.golovatyi@(protected) [mailto:iouli.golovatyi@(protected)] Sent: Wednesday, November 10, 2004 2:16 PM To: Lucene Users List Subject: RE: Lucene1.4.1 + OutOf Memory
Exception "too many files open means": - searcher object is nor closed after query execution - too little file handlers
Regards J.
"Karthik N S" <karthik@(protected) To: "Lucene Users List" <lucene-user@(protected)>, et.co.in> <yahootintin-lucene@(protected)> cc: (bcc: Iouli Golovatyi/X/GP/Novartis) 10.11.2004 09:41 Subject: RE: Lucene1.4.1 + OutOf Memory Please respond to "Lucene Users Category: |-- ---- ---- ---- ---- --| List" | ( ) Action needed | | ( ) Decision needed | | ( ) General Information |
|-- ---- ---- ---- ---- --|
Hi Guy's
Apologies .........
I am NOT Using "sorting code"
hits = multiSearcher.search(query, new Sort(new SortField("filename", SortField.STRING)));
but using multiSearcher.search(query)
in Core Files setup and still getting the Error.
More Advises Required..........
Karthik
-- --Original Message-- -- From: yahootintin-lucene@(protected) [mailto:yahootintin-lucene@(protected)] Sent: Wednesday, November 10, 2004 12:46 PM To: Lucene Users List Subject: Re: Lucene1.4.1 + OutOf Memory
There is a memory leak in the sorting code of Lucene 1.4.1. 1.4.2 has the fix!
--- Karthik N S <karthik@(protected)> wrote:
> > Hi > Guys > > Apologies.......... > > > > History > > Ist type : 40000 subindexes + MultiSearcher + Search on > Content Field > Only for 2000 hits > > > = > Exception [ Too many Files Open ] > > > > > > IInd type : 40 Mergerd Indexes [1000 subindexes each] + > MultiSearcher > /ParallelSearcher + Search on Content Field Only for 20000 > hits > > > = > Exception [ OutOf Memeory ] > > > > System Config [same for both type] > > Amd Processor [High End Single] > RAM 1GB > O/s Linux ( jantoo type ) > Appserver Tomcat 5.05 > Jdk [ IBM Blackdown-1.4.1-01 ( == Jdk1.4.1) ] > > Index contains 15 Fields > Search > Done only on 1 field > Retrieve 11 corrosponding fields > 3 Fields are for debug details > > > Switched from Ist type to IInd Type > > Can some body suggest me Why is this Happening > > Thx in advance > > > > > WITH WARM REGARDS > HAVE A NICE DAY > [ N.S.KARTHIK] > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: > lucene-user-unsubscribe@(protected) > For additional commands, e-mail: > lucene-user-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: lucene-user-unsubscribe@(protected) For additional commands, e-mail: lucene-user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: lucene-user-unsubscribe@(protected) For additional commands, e-mail: lucene-user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: lucene-user-unsubscribe@(protected) For additional commands, e-mail: lucene-user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: lucene-user-unsubscribe@(protected) For additional commands, e-mail: lucene-user-help@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |