Sorry if this is a bit obvious. I did not dive into your code. But I did
notice that replacePositionalPlaceholders returns buf.String(). If you are
certain that this is where the memory 'leak' is originating, then the most
likely scenario is that the returned string is never being collected. Is
On Sun, Aug 30, 2020 at 8:28 AM Sarath Prabath Redlapalli Jaya
wrote:
>
> The memory usage of containers are ever increasing and has grown from 100 MB
> to ~ 1 GB in couple of hours. Not able to understand where the gap is, even
> though the the builder is being reset. Would keeping a sync.Pool
The memory usage of containers are ever increasing and has grown from 100
MB to ~ 1 GB in couple of hours. Not able to understand where the gap is,
even though the the builder is being reset. Would keeping a sync.Pool of
builders help here?
Regards
On Sunday, August 30, 2020 at 8:55:15 PM UTC+