kubernetes / client-go

Go client for Kubernetes.
Apache License 2.0
8.99k stars 2.93k forks source link

Memory leak in watcher #1330

Closed amitschendel closed 7 months ago

amitschendel commented 8 months ago

Hey, I am using a watcher, and I am experiencing memory leaks issues. It seems like something is not being released and over time it grows infinitely... Below is the pprof result after pprof diff of about 10h.
image Link to my watcher implementation.

matthyx commented 8 months ago

/cc /assign p0lyn0mial

matthyx commented 8 months ago

/cc

likakuli commented 8 months ago

/cc

william-wang commented 5 months ago

@amitschendel Is the issue fixed?