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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17342903#comment-17342903 ] 

ASF GitHub Bot commented on TIKA-3395:
--------------------------------------

kamaci opened a new pull request #438:
URL: https://github.com/apache/tika/pull/438


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)