Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-138

Don't keep all mailboxes in-memory forever

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0a3, 2.1, 2.1.3, 2.2.0
    • Fix Version/s: 2.3.0
    • Labels:
      None
    • Environment:
      Operating System: Other
      Platform: Other

      Description

      In James.java and AvalonMailStore.java, we can replace the HashMap that holds
      all of the repositories with a ReferenceMap. The default settings should be
      fine. The members are mailboxes and repositores, respectively.

      This change should allow James to release un-used mailboxes in times of low
      memory.

        Attachments

          Activity

            People

            • Assignee:
              bago Stefano Bagnara
              Reporter:
              noel Noel J. Bergman
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: