ziyht opened a new pull request #98:
URL: https://github.com/apache/rocketmq-client-python/pull/98
## What is the purpose of the change
#96 possible memory leak
## Brief changelog
fix memleak for message created by cpp library not released in class Message
## Verifying this change
[ISSUE #96]
it happens in our production environment,the memory kepped increasing during
the app running, it may up to 10Gb after running several days
when fixed by this, it shows:
```
● qos_collector.service - qos_collector
Loaded: loaded (/etc/systemd/system/qos_collector.service; enabled;
vendor preset: disabled)
Active: active (running) since Fri 2020-10-09 09:18:24 CST; 3 days ago
Main PID: 31166 (python2.7)
Memory: 143.6M
CGroup: /system.slice/qos_collector.service
└─31166 /usr/bin/python
/data/home/qos/opt/qos_collector/src/app.py --dev
```
----------------------------------------------------------------
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]