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

Indexing large documents requires larger heap than may be necessary

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.5, 6.0
    • Component/s: update
    • Labels:
      None

      Description

      Solr is started with 1280M heap.

      ./bin/solr start -m 1280m

      Indexing a 100MB JSON file (using curl) containing large JSON documents from project Gutenberg fails with OOM but indexing a 549M JSON file containing small documents is indexed just fine.

      The same 100MB JSON file with the same heap size can be indexed just fine if I disable the transaction log.

        Attachments

        1. SOLR-7927.patch
          0.6 kB
          Shalin Shekhar Mangar

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shalinmangar Shalin Shekhar Mangar
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: