Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8223

Take care not to accidentally swallow OOMErrors

    XMLWordPrintableJSON

Details

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

    Description

      This was first noticed with 4.10.3, but it looks like it still applies to trunk. There are a few places in the code where we catch Throwable and then don't check for OOM or rethrow it. This behaviour means that OOM kill scripts won't run, and the JVM can get into an undesirable state.

      Attachments

        1. SOLR-8223.patch
          2 kB
          Mike Drob

        Activity

          People

            cpoerschke Christine Poerschke
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: