RongtongJin opened a new issue, #8432:
URL: https://github.com/apache/rocketmq/issues/8432

   ### Before Creating the Enhancement Request
   
   - [X] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   When the broker runs for an extended period and topics and subscriptions are 
frequently created and deleted, we notice a significant amount of stats 
information lingering in memory. This leads to high memory usage and even full 
garbage collection (FGC). I believe it is necessary to set 
autoDeleteUnusedStats to true by default, to promptly clean up these unused 
stats information
   
   ### Motivation
   
   When the broker runs for an extended period and topics and subscriptions are 
frequently created and deleted, we notice a significant amount of stats 
information lingering in memory. This leads to high memory usage and even full 
garbage collection (FGC). I believe it is necessary to set 
autoDeleteUnusedStats to true by default, to promptly clean up these unused 
stats information.
   
   
![image](https://github.com/user-attachments/assets/7df6789c-6033-4cb0-85f2-9d4f0383c2b1)
   
   
   ### Describe the Solution You'd Like
   
   Make autoDeleteUnusedStats config default to true
   
   ### Describe Alternatives You've Considered
   
   No
   
   ### Additional Context
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to