Exception "too many files open means":
- searcher object is nor closed after query execution
- too little file handlers

Regards
J.


                                                                                
                                             
                      "Karthik N S"                                             
                                             
                      <[EMAIL PROTECTED]        To:       "Lucene Users List" 
<[EMAIL PROTECTED]>,               
                      et.co.in>                 <[EMAIL 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: [EMAIL PROTECTED] [mailto:[EMAIL 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 <[EMAIL 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
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]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to