Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2338

Cursor holds on to two batches of documents at a time, where only one is necessary

      There is a small window where MongoBatchCursorAdapter requests the next batch of results while still referencing the previous batch. This unnecessarily increases the memory requirements of any application that iterates through query results that have multiple batches.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: