You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Furkan Kamaci (Jira)" <ji...@apache.org> on 2021/05/11 22:34:00 UTC

[jira] [Updated] (TIKA-3395) Make Inner Classes Static If Possible to Prevent Memory Leaks

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

Furkan Kamaci updated TIKA-3395:
--------------------------------
    Description: 
A static inner class does not keep an implicit reference to its enclosing instance. This prevents a common cause of memory leaks and uses less memory per instance of the class.

Details can be found here: [https://www.infoworld.com/article/3526554/avoid-memory-leaks-in-inner-classes.html]

  was:
A static inner class does not keep an implicit reference to its enclosing instance. This prevents a common cause of memory leaks and uses less memory per instance of the class.

 

Details can be found here: https://www.infoworld.com/article/3526554/avoid-memory-leaks-in-inner-classes.html


> Make Inner Classes Static If Possible to Prevent Memory Leaks
> -------------------------------------------------------------
>
>                 Key: TIKA-3395
>                 URL: https://issues.apache.org/jira/browse/TIKA-3395
>             Project: Tika
>          Issue Type: Improvement
>    Affects Versions: 1.26
>            Reporter: Furkan Kamaci
>            Priority: Major
>             Fix For: 1.27
>
>
> A static inner class does not keep an implicit reference to its enclosing instance. This prevents a common cause of memory leaks and uses less memory per instance of the class.
> Details can be found here: [https://www.infoworld.com/article/3526554/avoid-memory-leaks-in-inner-classes.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)