Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-1743

NetworkParser can create Unbounded Number of Threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The current NetworkParser class creates new instances of the Thread class which each call to parse. This could create an unbounded number of threads created by this class. I'd suggest replacing this logic with a ThreadPoolExecutor and a configurable number of threads. This will help prevent creating an unbounded number of threads and allow the user to tune performance to the hardware.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bobpaulin Bob Paulin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: