You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/12/15 03:27:58 UTC

[jira] [Updated] (OAK-5305) NRTIndex link to previous index leads to memory leak

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

Chetan Mehrotra updated OAK-5305:
---------------------------------
    Affects Version/s: 1.5.11

> NRTIndex link to previous index leads to memory leak 
> -----------------------------------------------------
>
>                 Key: OAK-5305
>                 URL: https://issues.apache.org/jira/browse/OAK-5305
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.5.11
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.5.16, 1.6
>
>
> {[NRTIndexFactory}} ensures that at max 3 NRTIndex instance are present. However as {{NRTIndex}} keeps a reference to previous index closed instances are still referenced and accumulate over a period of time.
> As a fix {{NRTIndex}} should null the previous reference upon close as it would not be accessed post close. 



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