[
https://issues.apache.org/jira/browse/OPENNLP-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Wiesner resolved OPENNLP-1668.
-------------------------------------
Resolution: Fixed
> Avoid multiple DecimalFormat instances in AbstractModel
> -------------------------------------------------------
>
> Key: OPENNLP-1668
> URL: https://issues.apache.org/jira/browse/OPENNLP-1668
> Project: OpenNLP
> Issue Type: Improvement
> Components: Machine Learning
> Affects Versions: 2.5.1
> Reporter: Martin Wiesner
> Assignee: Martin Wiesner
> Priority: Trivial
> Fix For: 2.5.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In line 122 of AbstractModel the very same DecimalFormat instance is created
> per call of the method getAllOutcomes. This allocates redundant instances and
> pollutes the heap.
> Aims:
> - Clean this up.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)