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

Point collapsed Rectangle at Poles resulting in GC OutOfMemory Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 4.2.1, 4.5
    • None
    • spatial
    • None
    • Tested with 4.2.1 and 4.5

    Description

      When indexing rectangles some shapes lead to OutOfMemory Errors in SolrDispatcher. It seems like shapes and points near poles are most effected I will try to contribute some more shapes than this.

      Shapes:
      Not working:
      <field name="geo">-180.0 90.0 180.0 90.0</field>
      <field name="geo">-180.0 -90.0 180.0 -90.0</field>

      Working:
      <field name="geo">180.0 90.0 180.0 90.0</field>
      <field name="geo">-180.0 80.0 180.0 80.0</field>

      Schema.xml:

      <fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType"
      geo="true" distErrPct="0.025" maxDistErr="0.000009" units="degrees" />

      <field name="geo" type="location_rpt" indexed="true" stored="false" multiValued="true" default="-180 -90 180 90"/>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              duser Dennis Reichelt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: