[ 
https://issues.apache.org/jira/browse/SOLR-1863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arne de Bruijn updated SOLR-1863:
---------------------------------

    Attachment: SOLR-1863.patch

I've created a simple (maybe too simple) patch that calls the spellchecker 
close method from LUCENE-2108 when a core is closed. The patch is against trunk 
but also applies to 1.4.0. This solves the problem for me with solr 1.4.0 and 
lucene 2.9.2.


> spellchecker leaks file on core reload
> --------------------------------------
>
>                 Key: SOLR-1863
>                 URL: https://issues.apache.org/jira/browse/SOLR-1863
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>         Environment: linux i386 (ubuntu 8.04)
>            Reporter: Arne de Bruijn
>         Attachments: SOLR-1863.patch
>
>
> When reloading a core of a multicore solr 1.4.0 instance with 
> /admin/cores?action=RELOAD&core=name an extra reference to the spellchecker 
> cfs file appears in the list of open files of the java process. A forced gc 
> (with jconsole) does not help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to