You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2021/05/12 13:28:00 UTC
[jira] [Resolved] (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 ]
Tim Allison resolved TIKA-3395.
-------------------------------
Resolution: Fixed
> 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: 2.0.0
>
>
> 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)