Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1152

Memory leak in connection.ReadWireMessage

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • None

      I'm trying to switch from mgo to the mongo-go-driver in a relatively simple oplog tailing application. After a few hours, I observe rather high resident memory (multiple GiB). When I take a heap profile, it's implicating connection.ReadWireMessage; specifically "c.readBuf = make([]byte, size)".

      This is somewhat similar to GODRIVER-951, but I believe that is caused by a different bug, because in my case, I'm only seeing 16 MiB blocks being allocated, as expected.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: