Open lirong-Lee opened 3 years ago
@lirong-Lee Could you profiling memory by tcmalloc or valgrind?
@ifplusor Use valgrind to run for a short time and see the report that there is no leak. Valgrind takes too much CPU, I don’t have a machine to run for a long time
@ShannonDing
@ifplusor Is there a risk of memory leakage?
@ifplusor Is there a risk of memory leakage?
I'm not found in the test.
Address Sanitizer is a lot faster than valgrind. You guys may try it.
I use a simple code to only receive rocketmq normal messages and orderly messages. Return true when the message is received. The sender sends a packet of ordinary data and a packet of real-time data in 100ms. The following is the memory information graph from 2021-06-15 to 2021-06-28
rocketmqrecvtest.txt