关于cgo部分代码ptid_comm的疑惑 #628
Unanswered
zcl1115
asked this question in
agent collector
Replies: 1 comment 4 replies
-
用于存放 开启Trace Profiling功能时,在保存100k个线程数据的情况下,按照上限计算,256*100000/1024/1024=25MiB,算上map的额外内存占用,不超过30MiB。这里内存确实没有清理,是一个潜在的问题。 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如题所示,从代码里面观察到有个map ptid_comm用于存放pid的相关的信息,value是256char,不过好像没有观察到这个的清楚情况,就是这个map如果程序执行,是会一直扩张下去的吗?最终大小可能会是多少
Beta Was this translation helpful? Give feedback.
All reactions