Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34561

nearSphere use lots of memory and oom

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

      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 Nick Brewer
            Reporter:
            shawn001 shawn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: