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

Regression in reactive streams implementation memory consumption

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Reactive Streams, Scala
    • Labels:
      None
    • Environment:
      linux, OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode), atlas

      Description

      An upgrade from mongo-java-driver (and mongo-java-driver) from 4.1.1 to 4.2.0 lead to increased memory consumption and decreased performance. (Jobs taking massively longer than before)

      We solved the issues by rolling back to 4.1.1.

      We don't have minimal reproducing examples but it is very visible for usecases where we stream a huge amount of documents reading from the database using reactive streams.

      The changelog states that you exchanged the internal reactive-streams implementation so maybe it has something to do with this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ross.lawley Ross Lawley
              Reporter:
              frederick.roth@breuninger.de Fred Roth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: