[ 
https://issues.apache.org/jira/browse/UIMA-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189165#comment-13189165
 ] 

Peter Klügl commented on UIMA-2347:
-----------------------------------

Yes, I agree and I think nobody that uses TextMarker should have to know about 
its actual implementation. The information above is just a documentation for me 
(or any other programmer) that there is a quite specific implementation problem.

I always naively thought that StackOverflows only happen in recursions if the 
arguments of the method do not change... I was so wrong.
                
> StackOverflowError by greedy TextMarker rule elements
> -----------------------------------------------------
>
>                 Key: UIMA-2347
>                 URL: https://issues.apache.org/jira/browse/UIMA-2347
>             Project: UIMA
>          Issue Type: Bug
>          Components: TextMarker
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>
> The new implementation of the TextMarker rule inference is now based on 
> recursion. Greedy rule elements continue their match on additional 
> annotations therefore with a call of continueMatch(). This causes a quite big 
> call stack for rules like ANY+ on large documents. Investigate the error. 
> Maybe introduce a new method continueOwnMatch that is based on a loop.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to