Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2469

The maximum number of threads performing sequencing and text extraction operations should be configurable

    XMLWordPrintable

Details

    Description

      When performing sequencing & text extraction operations, ModeShape uses background threads for executing the actual work. These threads come (at the moment) from an unbounded cached thread pool meaning that it's possible in some cases and on some OSes (Windows being a very likely culprit) for java.lang.OutOfMemoryError: unable to create new native thread to occur.

      We should make sure that:
      1. we're always using a default upper bound for the number of threads that can be spawned
      2. this number is configurable so that clients can fine-tune it if required

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: