Open rafaeljesus opened 4 months ago
I have a background task that runs every 5s
I've reduced to 60s and still the same memory consuption
just to rule out any possible problem with the background task, I took a profile hitting the pprof/profile endpoint in a app with the background task mentioned above disabled, I took the profile just once and memory increased this much and continued that way,
in my pprof endpoint, I am also using the ProfilerGuardBuilder
yes, I got this problem too.
We limited the process memory to 128M before, since it actully usage is around 10MB.
but after enabled pyroscope-rs (which uses tikv/pprof-rs), the meory increased to near 220MB+
Hello, I using pprof-rs to generate pprof data and send it to GCloud,
I have a background task that runs every 5s as follows:
the caller side,
take_profile
runs every 5 seconds in a loopI have this enabled in different rust apps in our GKE cluster, and in all of them memory increased + 10x, below is a screenshot from a pod that was using 15 MB, and when the pprof-rs was enabled it jumped to +300MB
metric:
jemalloc_active_bytes
I took heap profile data using polarsignals/rust-jemalloc-pprof
Does that ring any bell for you? I appreciate any help you can provide.