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)

Reply via email to