ugorji / go

idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
MIT License
1.83k stars 294 forks source link

mem leak? #401

Closed jank1369 closed 8 months ago

jank1369 commented 11 months ago
image

it seems the kString() func has mem leak?

ugorji commented 8 months ago

Not clear just from this screen shot.

Decoder.kString -> DecoderstringZC -> Decoder.string

If interning = true, then a map of strings is kept, which could grow if the strings are constantly random.

Nothing here suggests a memory leak. Please re-open if you have more information suggesting an issue.