Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2515

Need better workaround for intermittent out-of-stack in Arrays.sort for compressed binary serialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0SDK
    • 2.4.1SDK
    • Core Java Framework
    • None
    • Windows, Linux, IBM Java 5 and 6 (not 7, not Sun/Oracle)

    Description

      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.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: