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 "Amit Jain (JIRA)" <ji...@apache.org> on 2016/12/23 04:37:59 UTC
[jira] [Closed] (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 ]
Amit Jain closed OAK-5305.
--------------------------
Bulk close Oak 1.5.16
> 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)