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

        Noel J. Bergman created issue -
        Serge Knystautas made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 24022 13470
        Noel J. Bergman made changes -
        Priority Minor [ 4 ]
        Assignee James Developers Mailing List [ server-dev@james.apache.org ]
        Affects Version/s 2.2.0a18 [ 10620 ]
        Affects Version/s 2.1.3 [ 10599 ]
        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.
        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.
        Affects Version/s 2.0a3 [ 10425 ]
        Environment Operating System: Other
        Platform: Other
        Operating System: Other
        Platform: Other
        Noel J. Bergman made changes -
        Fix Version/s 3.0 [ 10427 ]
        Stefano Bagnara made changes -
        Bugzilla Id 24022
        Fix Version/s 3.0 [ 10427 ]
        Environment Operating System: Other
        Platform: Other
        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.
        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.
        Stefano Bagnara made changes -
        Assignee Stefano Bagnara [ bago ]
        Hide
        Stefano Bagnara added a comment -

        Fixed as suggested by Noel.

        Show
        Stefano Bagnara added a comment - Fixed as suggested by Noel.
        Stefano Bagnara made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.1 [ 10690 ]
        Hide
        Danny Angus added a comment -

        Closing issue fixed in released version.

        Show
        Danny Angus added a comment - Closing issue fixed in released version.
        Danny Angus made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 23465 ] Default workflow, editable Closed status [ 12566690 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566690 ] jira [ 12582210 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        657d 1h 55m 1 Stefano Bagnara 10/Aug/05 09:15
        Resolved Resolved Closed Closed
        833d 16m 1 Danny Angus 21/Nov/07 08:31

          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