kahle23 opened a new issue, #467:
URL: https://github.com/apache/rocketmq-spring/issues/467

   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   Heap memory leak caused OOM.
   
   - What did you do (The steps to reproduce)?
   
   ```
   @Slf4j
   @Component
   @RocketMQMessageListener(topic = "${rocketmq.consumer.topic}"
           , consumerGroup ="${rocketmq.consumer.group}")
   public class EventListener implements RocketMQListener<Event>, 
RocketMQPushConsumerLifecycleListener {
   
       @Override
       public void prepareStart(DefaultMQPushConsumer consumer) {
           consumer.setMaxReconsumeTimes(5);
           consumer.setPullThresholdForTopic(200);
           consumer.setPullThresholdSizeForTopic(100);
       }
   
       @Override
       public void onMessage(Event message) {
   
           log.info("The event listener: {}", JSON.toJSONString(message));
       }
   
   }
   ```
   
   - What did you expect to see?
   
   Message consumption is normal.
   
   - What did you see instead?
   
   Messages are being consumed, but the old zone is also accumulating.
   
   3. Please tell us about your environment:
   
   JDK 1.8
   spring-boot  2.3.2.RELEASE
   rocketmq-spring-boot-starter  2.2.2
   
   5. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   
   ps_old_gen always unable to release, after holding for 1-2 days, OOM will 
occur.
   
   
![7cb9dde8227a7e2f8da406ed9759ae8](https://user-images.githubusercontent.com/16236755/176388669-2af8d227-0fe4-42b5-8d82-4f33817c0794.png)
   
![78cb0c26671ee0ee1628c9dfec7f6ec](https://user-images.githubusercontent.com/16236755/176388726-c9387d13-f574-4e37-bfa5-619bdd5a5f18.png)
   
   
![27d2c64a317ddfa49d408a1cc15ad2f](https://user-images.githubusercontent.com/16236755/176388289-85bca7d3-f72d-4e0f-b248-0a7bee8c2439.png)
   
![9930d024336a2496a084664380b49f3](https://user-images.githubusercontent.com/16236755/176388342-eb90ecc9-5b57-49cc-bfc9-c1bab0272eb1.png)
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to