anancds / document

MIT License
1 stars 0 forks source link

memory leak #168

Open anancds opened 3 years ago

anancds commented 3 years ago

LD_PRELOAD=/usr/local/lib64/libasan.so ASAN_OPTIONS=protect_shadow_gap=0:detect_leaks=1

anancds commented 3 years ago

grep Pss /proc/ps -ef | grep $port | grep -v bash | grep -v check.sh | grep -v grep |grep -v simulator| grep -v zs| awk '{print $2}'/smaps | awk '{total+=$2}; END {print total}'