Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-28590

Excessive memory wasted during reindex all (due to EagerLoadingOfbizCustomFieldPersister's caching of custom field values)

XMLWordPrintable

      The EagerLoadingOfBizCustomFieldPersister gobbles up too much memory during a reindex.

      This is still a problem in very large instances. While we may be using soft references to prevent OutOfMemory errors, the cache still grows to enormous sizes on all re-index threads and causes excessive memory pressure.

      In testing with 200,000 issues and 8 custom fields averaging approximately 50 bytes each this totalled > 400Megabytes.

            Unassigned Unassigned
            tcampbell Trevor Campbell (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: