You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have identified a high memory utilization issue in the LogWatcher class [1] in the diagnostic-tool [2]. The StringBuilder used to accumulate log data is not being managed properly, leading to excessive memory usage. This issue was detected through a heap dump analysis using Eclipse MAT, which pointed to a large byte[] instance retained by the StringBuilder.
Description
Hi Team,
We have identified a high memory utilization issue in the LogWatcher class [1] in the diagnostic-tool [2]. The StringBuilder used to accumulate log data is not being managed properly, leading to excessive memory usage. This issue was detected through a heap dump analysis using Eclipse MAT, which pointed to a large byte[] instance retained by the StringBuilder.
[1] https://github.com/wso2/runtime-diagnostic-tool/blob/c70186279d8cf9cba3055d690f8d53ab1df4a600/src/main/java/org/wso2/diagnostics/watchers/logwatcher/LogWatcher.java
[2] https://apim.docs.wso2.com/en/4.3.0/troubleshooting/utilizing-runtime-diagnostic-tool/
Thanks,
Janaka.
Steps to Reproduce
Version
4.3.0
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: