Xinyu Liu created SAMZA-2775:
--------------------------------

             Summary: Fix potential memory leaks
                 Key: SAMZA-2775
                 URL: https://issues.apache.org/jira/browse/SAMZA-2775
             Project: Samza
          Issue Type: Bug
            Reporter: Xinyu Liu


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.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to