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

connection management should take available memory into account

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      It's possible to run into Out Of Memory errors pretty quickly when a Mongo() instance creates multiple connections to the DB and the JVM has been invoked without specifying enough memory. The connection management should ideally take into account the available memory when allocating new connections. In a debug or verbose mode, the driver might indicate that it would have liked to create more connections but couldn't due to memory restrictions.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            liamstask Liam Staskawicz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: