On Windows when I static bind tcmalloc
with my code, I see continuous memory growth, but there is no growth if I do not use tcmalloc
.
issue is not present in Linux.
I have tried flags below flags:
TCMALLOC_RELEASE_RATE = 25
TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES = 1
TCMALLOC_AGRESSIVE_DECOMMIT = t
I could see that the memory growth rate is slow when I use these variables, but over multiple days memory still keeps on growing.
I need to stop memory growth.