Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2775

Fix potential memory leaks

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When using Samza standalone, we found out a few possible memory leakage in the following classes:

      • MetricsHelper.newGauge(): we are creating an anonymous class object inside this function which holds reference to outer class object, typically TaskInstance.
      • BlockingEnvelopeMap class has a few inner Metrics classes which are not marked as static.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            xinyu Xinyu Liu

            Dates

              Created:
              Updated:

              Slack

                Issue deployment