James Server
  1. James Server
  2. JAMES-138

Don't keep all mailboxes in-memory forever

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Hide
        Stefano Bagnara added a comment -

        Fixed as suggested by Noel.

        Show
        Stefano Bagnara added a comment - Fixed as suggested by Noel.
        Hide
        Danny Angus added a comment -

        Closing issue fixed in released version.

        Show
        Danny Angus added a comment - Closing issue fixed in released version.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development