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

Memory leak at org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • Metrics, protocols, SMTPServer
    • None

    Description

      For each command, the command handler will use a timer record the rt. So, if someone input error commands, the command handler will create a new timer to record, this will cause memory leak.

      //AbstractHookableCmdHandler#onCommand
      //see also org.apache.james.protocols.smtp.core.UnknownCmdHandler
      TimeMetric timeMetric = metricFactory.timer("SMTP-" + request.getCommand().toLowerCase(Locale.US));

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tuister tuister
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 167h 40m
                  167h 40m
                  Logged:
                  Remaining Estimate - 167h 40m
                  20m