sonic 内存泄露问题 #625
Unanswered
zhahuan007
asked this question in
Q&A
Replies: 1 comment
-
设置config参数copyString为true,问题就解决了 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
版本:github.com/bytedance/sonic v1.10.0
使用场景:一个goroutine 每隔5分钟load一次json到内存里,这个json字符串大概有20M,是元数据。中间会对这个反序列化后对象再做一些加工处理,增加一些map之类的。
程序上线后,观察内存不断地在增加,直到oom。
也可能是我使用姿势问题,请教下,有碰到类似问题吗?
Beta Was this translation helpful? Give feedback.
All reactions