-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
(copied to CRM)
Currently new byte slices are created every time Operation.Execute is called. We can reduce this by pooling the byte slices in the background and copying return values, which are usually subslices, into new slices before returning them, which will free up the original slice.
- causes
-
GODRIVER-2677 Investigate excess memory usage that may be due to pooling
- Closed
- is related to
-
GODRIVER-2026 Reduce allocations in bsonrw.valueReader and bsoncodec.MapCodec
- Backlog
-
GODRIVER-2021 Operation.createMsgWireMessage() allocates memory inefficiently
- Closed
-
GODRIVER-2025 Always reuse buffers in bsonrw.valueWriter
- Closed
- related to
-
GODRIVER-1624 Investigate report of excessive memory usage in GridFS
- Backlog