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

Thilo Goetz commented on UIMA-1945:
-----------------------------------

Is this really necessary?  The code is not exactly transparent as it is, and it 
will just get more complicated if you turn the relatively straightforward 
recursion into an iteration.  Can't they just increase the stack size of the 
JVM?

> convert recursive impl of CAS Copier to non-recursive to avoid out-of-stack 
> space errors
> ----------------------------------------------------------------------------------------
>
>                 Key: UIMA-1945
>                 URL: https://issues.apache.org/jira/browse/UIMA-1945
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 2.3.1SDK
>
>
> User has reported running out of stack space - traced to long UIMA list which 
> was being copied using the CasCopier utility, which places two "calls" for 
> each element of the list on the Java stack.
> Convert this to a non-recursion implementation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to