James Server
  1. James Server
  2. JAMES-592

OOM caused by unbounded cache in InetAddress (was James leaks memory slowly)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: None
    • Labels:
      None

      Description

      Noel wrote on list:
      I do not know where in the application it is happening, but after running
      JAMES non-stop since Fri Aug 11 03:29:57 EDT 2006, this morning the JVM
      started to throw OutOfMemoryError exceptions, such as:

      21/08/06 08:39:47 WARN mailstore: Exception retrieving mail:
      java.lang.RuntimeException: Exception caught while retrieving an object,
      cause: java.lang.OutOfMemoryError, so we're deleting it.

      That did not recover, so it wasn't just due to a transient large allocation
      (which I limit, anyway), so there is definitely something leaking, albeit
      slowly. Keep in mind that the store was one of the victims, but not
      necessarily the cause.

      The JVM process size had steadily grown from a somewhat stable 114MB to
      130MB last night. I did not look at it this morning before restarting the
      server.

      — Noel

        Issue Links

          Activity

          Norman Maurer created issue -
          Stefano Bagnara made changes -
          Field Original Value New Value
          Affects Version/s 2.3.0rc2 [ 12312012 ]
          Norman Maurer made changes -
          Resolution Invalid [ 6 ]
          Status Open [ 1 ] Closed [ 6 ]
          Noel J. Bergman made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Resolution Invalid [ 6 ]
          Assignee Norman Maurer [ norman ] Noel J. Bergman [ noel ]
          Noel J. Bergman made changes -
          Fix Version/s 2.3.0rc3 [ 12310796 ]
          Summary James leaks memory when using MYSQL James leaks memory slowly
          Affects Version/s 2.3.0rc3 [ 12310796 ]
          Noel J. Bergman made changes -
          Priority Blocker [ 1 ] Critical [ 2 ]
          Noel J. Bergman made changes -
          Affects Version/s 2.3.0rc2 [ 12312012 ]
          Affects Version/s 2.3.0rc3 [ 12310796 ]
          Affects Version/s 2.3.0 [ 12312103 ]
          Noel J. Bergman made changes -
          Fix Version/s Next Minor [ 12312136 ]
          Affects Version/s 2.2.0 [ 10747 ]
          Fix Version/s Next Major [ 10427 ]
          Noel J. Bergman made changes -
          Fix Version/s Trunk [ 12312135 ]
          Stefano Bagnara made changes -
          Summary James leaks memory slowly Possible OOM caused by unbounded cache in InetAddress (was James leaks memory slowly)
          Noel J. Bergman made changes -
          Summary Possible OOM caused by unbounded cache in InetAddress (was James leaks memory slowly) OOM caused by unbounded cache in InetAddress (was James leaks memory slowly)
          Noel J. Bergman made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          Fix Version/s 2.3.1-dev [ 12312150 ]
          Stefano Bagnara made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Stefano Bagnara made changes -
          Fix Version/s Trunk [ 12312135 ]
          Stefano Bagnara made changes -
          Link This issue relates to JAMES-774 [ JAMES-774 ]
          Stefano Bagnara made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s Next Minor [ 12312136 ]
          Status Reopened [ 4 ] Resolved [ 5 ]
          Assignee Noel J. Bergman [ noel ] Stefano Bagnara [ bago ]
          Fix Version/s Next Major [ 10427 ]
          Danny Angus made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Mark Thomas made changes -
          Workflow jira [ 12382115 ] Default workflow, editable Closed status [ 12566336 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12566336 ] jira [ 12581703 ]

            People

            • Assignee:
              Stefano Bagnara
              Reporter:
              Norman Maurer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development