On Wed, May 26, 2021 at 2:31 AM varun...@gmail.com wrote:
>
> Thanks @Ian for the clarification.
>
> The BySize arrays gives the number of active objects in a size class but it
> does not give the total memory allocated for a size class. E.g, for 1k size
> class, if 100K was the total size alloc
(Sorry for the typo. Where ever I mentioned alloc -> heap, I mean all ->
heap)
On Wednesday, May 26, 2021 at 3:01:21 PM UTC+5:30 varun...@gmail.com wrote:
> Thanks @Ian for the clarification.
>
> The BySize arrays gives the number of active objects in a size class but
> it does not give the to
Thanks @Ian for the clarification.
The BySize arrays gives the number of active objects in a size class but it
does not give the total memory allocated for a size class. E.g, for 1k size
class, if 100K was the total size allocated and there are only 10 objects
in it, it does not tell the memor
On Tue, May 25, 2021 at 6:53 AM varun...@gmail.com wrote:
>
> This statement is a bit confusing to me regarding HeapInuse: "which includes
> space allocated to hold objects that do not yet exist or that have been
> released by the garbage collector"
>
> According to memstats documentation, HeapI
@Ian,
This statement is a bit confusing to me regarding HeapInuse: "*which
includes space allocated to hold objects that do not yet exist or that have
been released by the garbage collector*"
According to memstats documentation, HeapInUse -> Includes all spans that
have at least one object in
Got it,thanks
发自我的小米手机在 Ian Lance Taylor ,2019年9月3日 21:28写道:On Mon, Sep 2, 2019 at 11:01 PM Chao Yuepan wrote:
>
> I have run a programas redis proxy which parses redis commands and redirects to redis servers.
>
> I noticed it looks has memory leak issue.
>
> I use pp
On Mon, Sep 2, 2019 at 11:01 PM Chao Yuepan wrote:
>
> I have run a programas redis proxy which parses redis commands and redirects
> to redis servers.
>
> I noticed it looks has memory leak issue.
>
> I use pprof to check the memory usage. It sows the total memory usage is
> 856.02MB. I underst