You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2012/12/06 15:17:10 UTC

[jira] [Created] (UIMA-2515) Need better workaround for intermittent out-of-stack in Arrays.sort for compressed binary serialization

Marshall Schor created UIMA-2515:
------------------------------------

             Summary: Need better workaround for intermittent out-of-stack in Arrays.sort for compressed binary serialization
                 Key: UIMA-2515
                 URL: https://issues.apache.org/jira/browse/UIMA-2515
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.4.0SDK
         Environment: Windows, Linux, IBM Java 5 and 6 (not 7, not Sun/Oracle)
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.4.1SDK


On IBM Java 6, there is an occasional failure in Arrays.sort used to sort the strings in the heap.  The failure is an out-of-stack-space error.  It is very intermittent.  I had earlier seen this, and had wrapped the call to Arrays.sort in a try/catch loop which caught the out-of-stack-space.  The code would retry this once, after reversing the array (thinking this would change things to avoid the out-of-memory).  In further extensive use, this error has popped up again, even with this retry.  Need a better workaround.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira