Skip to content

Release v19.133.2

Choose a tag to compare

@github-actions github-actions released this 06 Nov 15:30
4eb75ba

Fixed

  • A reducer with a large state no longer holds hundreds of megabytes of pooled buffers while it reduces: the state sent to the client is written, and the state returned by the client is parsed, into buffers sized for the document instead of growing rented ones by doubling, so a heap limit is no longer exhausted by memory the document itself does not need.
  • Converting documents between JSON, ExpandoObject and BSON no longer allocates per value: scalar BSON conversion skips type reflection, a schema's format and its properties by name are computed once, and the case-insensitive fallback and array conversions no longer allocate closures and LINQ iterators.
  • Event cursors fetch 1000 events per round trip instead of whatever fits in 16 MB, so an observer reading a long backlog no longer materializes tens of thousands of events at once.