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

Regression in reactive streams implementation memory consumption

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

      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.

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

              Created:
              Updated:
              Resolved: