Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6872

IndexWriter OOM handling should be any VirtualMachineError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • New

    Description

      IndexWriter is defensive in this case: this error could come from any unexpected place.

      But its superclass VirtualMachineError is the correct one: "Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating."

      Attachments

        1. LUCENE-6872.patch
          11 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: