OutOfMemoryError during reindex all (due to EagerLoadingOfbizCustomFieldPersister's caching of custom field values)

XMLWordPrintable

    • 3.06

      The EagerLoadingOfbizCustomFieldPersister is storing an Issue's custom field values in a ThreadLocal so a request may access the same values in a timely manner if requested again. Unfortunately a reindex all process touches every issue, slowly building these caches up and not releasing until either the reindex thread pool is discarded and the threads die or an OutOfMemoryError occurs. We should really SoftReference the list of values.

            Assignee:
            Unassigned
            Reporter:
            Jed Wesley-Smith (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: