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

More control for apps against OOMs from UIMA core: Add configuration option to set the maximum heap size the CAS will grow to

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • 2.3
    • None
    • Core Java Framework

    Description

      Applications need to protect themselves against out of memory exceptions (OOMs). UIMA should help with that by making sure a growth in the CAS heap size will not cause an OOM. One way to do this is to add a config param that controls the maximum heap size for a CAS and throw a runtime exception if that threshold is exceeded.

      Since apps often use multiple CASes in pools in multihreaded fashion they would still need to exercise some app specific math (and guesswork) to determine the right value for this param. But at least they would be able to have some control.

      (There could still be OOMs during UIMA processing from other sources)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thampp Thomas Hampp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: