Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2677

Don't preallocate arrays for LDAP queries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.6
    • 2.3.3
    • None
    • None

    Description

      Crowd preallocates arrays of max-results at the start of LDAP queries unless the size is EntityQuery.ALL_RESULTS. If a client sends a huge value for this, to indicate that they don't care about batching, this will exhaust memory.

      Switch to always allocating collections with their default sizes and growing them as necessary.

      Attachments

        Issue Links

          Activity

            People

              jwalton joe
              jwalton joe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: