Skip to content

Memory grows slowly #551

@dxsup

Description

@dxsup

Describe the bug

The memory of the agent grows slowly.

Screenshots

The screenshot from a user shows that the memory usage of some agents is over 1GiB.
28131690442699_ pic

Trouble shooting
Run the following command:

curl http://IP:6060/debug/pprof/heap -o heap
go tool pprof heap
> web

We can get the following heap graph:
pprof001

It shows the inuse heap of kindling-collector is only 365MiB. So the kindling-probe may use more than 700MiB memory.

Environment (please complete the following information)

  • Kindling agent version: v0.8.0
  • Node Kernel version: 5.4.240-1.el7.elrepo.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions