nearSphere use lots of memory and oom

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Geo
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      2ds index queries use lots of memory , until mongod oom.

      query patthern is :

      command: find { find: "col_gps", filter: { gps: { $nearSphere: { $geometry: { type: "Point
      ", coordinates: [ 116.006216, 25.86062 ] } } } }, limit: 1, batchSize: 1, singleBatch: true } planSummary: GEO_NEAR_2DSPHERE { gps: "2dsphere" }
      

      Thanks.

              Assignee:
              Nick Brewer (Inactive)
              Reporter:
              shawn
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: