84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
一个基于开源代码的项目, 代码量有 4W 多行吧.
今天压测, 发现内存占用很高, 有啥分析方法或者工具吗?
使用了 glib 库, 发现线程有点多.
闭关修行中......
I plan to use tcmalloc to analyze the memory usage.Then streamline the thread usage.
Let’s dynamically analyze the memory leak problem first. . .
You can use the valgrind tool to analyze whether there is a memory leak.Vargrind tutorial is here.
I plan to use tcmalloc to analyze the memory usage.
Then streamline the thread usage.
Let’s dynamically analyze the memory leak problem first. . .
You can use the valgrind tool to analyze whether there is a memory leak.
Vargrind tutorial is here.