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 "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2015/04/22 11:21:58 UTC

[jira] [Updated] (OAK-2798) OakIndexInput should unset OakIndexFile's byte[] upon close

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

Tommaso Teofili updated OAK-2798:
---------------------------------
    Assignee:     (was: Tommaso Teofili)

> OakIndexInput should unset OakIndexFile's byte[] upon close
> -----------------------------------------------------------
>
>                 Key: OAK-2798
>                 URL: https://issues.apache.org/jira/browse/OAK-2798
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.2.1
>            Reporter: Tommaso Teofili
>             Fix For: 1.2.2
>
>
> {{OakIndexInput}}, being an extension of Lucene's {{IndexInput}} implements {{Closable}}, however upon {{#close}} the referenced {{OakIndexFile}}'s _byte[]_ is not unset.
> This can lead to memory leak as when IndexInputs gets closed, e.g. by {{StoredFieldsReaders}} such references won't be properly cleared.



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