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

Side effects of setting WriteOutContentHandler write limit as -1 are unknown

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • core
    • None

    Description

      WriteOutContentHandler has a parameterized constructor which can be used to specify the writeLimit. The default seems to be 100,000 characters. Setting this to -1 signifies no writing limit. I want to understand the side effects of keeping it as -1, whether it can cause any memory or performance issues.
       
      I also want to understand the reason why this write limit was introduced in the first place, any use-case or user scenario due to which this parameter was introduced.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yash.mehta Yash Mehta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: