You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@joshua.apache.org by "Matt Post (JIRA)" <ji...@apache.org> on 2016/08/24 22:11:20 UTC
[jira] [Created] (JOSHUA-306) Translations.java consumes
potentially infinite resources
Matt Post created JOSHUA-306:
--------------------------------
Summary: Translations.java consumes potentially infinite resources
Key: JOSHUA-306
URL: https://issues.apache.org/jira/browse/JOSHUA-306
Project: Joshua
Issue Type: Bug
Reporter: Matt Post
Translations is used to asynchronously provide a caller with access to translations as they are produced. However, it is implemented as an underlying synchronized list that grows and grows. In the presence of an infinite stream (STDIN?), this will eventually consume all resources. This might not be much to worry about, but maybe we should have old translations be expunged as they are consumed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)