You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Steven Taschuk (JIRA)" <ji...@apache.org> on 2016/03/03 23:30:18 UTC

[jira] [Created] (OPENNLP-835) Various bugs in SequenceStreamEventStream

Steven Taschuk created OPENNLP-835:
--------------------------------------

             Summary: Various bugs in SequenceStreamEventStream
                 Key: OPENNLP-835
                 URL: https://issues.apache.org/jira/browse/OPENNLP-835
             Project: OpenNLP
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Steven Taschuk


The class SequenceStreamEventStream has a few bugs.
(1) It truncates the stream early if any sequence is empty.
(2) After reset, it will emit the remaining elements from the underlying sequence that was being iterated over before the reset, and then start over from the beginning.
(3) It leaks memory by not discarding references to objects it doesn't need anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)