cytnju opened a new issue #2269:
URL: https://github.com/apache/rocketmq/issues/2269
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
- 1.run this demo
```java
public staic void main(String[] args) {
DefaultMQProducer producer;
for(int i = 0; i < 99999; i++) {
producer = new DefaultMQProducer("group");
producer.start();
producer.shutdown();
}
// this case will throw OOM
}
```
- 2. thread dump and grep "RequestHouseKeepingService"

- What did you expect to see?
RequestHouseKeepingService will be cleaned after producer shut down.
- What did you see instead?

2. Please tell us about your environment:
```shell
jre : 1.8
os: mac os
rocketmq-version : 4.7.0
```
3. Other information (e.g. detailed explanation, logs, related issues,
suggestions how to fix, etc):
```RequestHouseKeepingService``` timer construction in
```DefaultMQProducerImpl```

```timer``` will sehcdule in fixed rate after producer start.

```timer``` does not shutdown when shutting down the producer.

----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]