You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gmc.log content
WARNING: Perftools heap leak checker is active -- Performance may suffer
Thread finding failed with -1 errno=14
Thread finding callback was interrupted or crashed; can't fix this
Expectation:
To be able to use the gmc tool properly.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered:
The tcmalloc version is too old. We are using version 2.1, which is from 2013, 8 years ago.
I tried heap-checker but still didn't receive any GMC messages, so it's definitely because the version is too old and it's not working anymore. We need to upgrade gperftools.
Description:
Compile and run 3.0-R3 using GMC, and finally found that there is no memory leak in gmc.log, but in fact it does exist.
Build SRS with GMC
./configure --with-gperf --with-gmc && make
Start SRS with GMC
env PPROF_PATH=./objs/pprof HEAPCHECK=normal ./objs/srs -c conf/console.conf 2>gmc.log
Or CTRL+C to stop gmc
killall -2 srs
To analysis memory leak
cat gmc.log
gmc.log content
WARNING: Perftools heap leak checker is active -- Performance may suffer
Thread finding failed with -1 errno=14
Thread finding callback was interrupted or crashed; can't fix this
Expectation:
To be able to use the gmc tool properly.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: