[ 
https://issues.apache.org/jira/browse/LUCENE-6109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14243041#comment-14243041
 ] 

Erick Erickson commented on LUCENE-6109:
----------------------------------------

Please raise issues like this on the user's list first, we try to
reserve the JIRA system for things that are bugs/improvements
not general questions. If the user list discussion results in an 
agreement that it's worth a JIRA, _then_ open one.


In this case, what I expect you're seeing is that a searcher
keeps files open until the _searcher_ is closed. Segment
files can be "merged away" during indexing, but the deleted
files are still kept around until the searcher using them closes.

So, I expect these files will disappear when you do a hard commit
with openSearcher=true. And other ones will appear, then that
specific set of files will go away a little while after the next hard
commit (openSearcher=true).

If this is not your experience, please show full outputs before and
after, and specify what you expect the difference to be on the
user's list. If there's really a problem we can re-open this JIRA.




> is MMapDirectory memory leak ?
> ------------------------------
>
>                 Key: LUCENE-6109
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6109
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.0-BETA, 4.0
>         Environment: Lucene version: lucene-4.0-SNAPSHOT
> system info:
> Linux version 2.6.32-431.5.1.el6.x86_64 ([email protected]) 
> (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Wed Feb 12 
> 00:41:43 UTC 2014
> JDK version:
> java version "1.7.0_65"
> Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
> Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
>            Reporter: chenlong huo
>
> i wonder that my solr(solr-4.0 with lucene 4.0 snapshot version) application 
> run with master-slave model, the problems is :
> when i execute the linux command : 
> cat /proc/34415/maps  |grep index | grep "deleted"
> the 34415 is my lucene process, i see the info:
> 7fe93400c000-7fe934015000 r--s 00000000 08:01 40371420                   
> xxxxx/data/index.20141109123135384/_e7sh.fdx (deleted)
> 7fe934027000-7fe934035000 r--s 00000000 08:01 40371649                   
> xxxxxx/data/index.20141109123135384/_e6z1.fdx (deleted)
> 7ff0c8012000-7ff0c8049000 r--s 00000000 08:01 40370443                   
> ....../solr/data/index.20141109123135384/_e7mc.fdx (deleted)
> .......
> .......
> there are too many index files are marked deleted, is that a memory leak ?
>  please help me, thanks !



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to