Skip to content

[bug] Memory Leak of Operator. #469

@acekingke

Description

@acekingke

Describe the problem

To Reproduce

  1. use pprof in operator , and the code in cmd/manager/main.go
	go func() {
		ip := "0.0.0.0:6060"
		if err := http.ListenAndServe(ip, nil); err != nil {
			fmt.Printf("start pprof failed on %s\n", ip)
			os.Exit(1)
		}
	}()
  1. kubectl apply -f xxxx
  2. see the alloc objets in localhost:6060 , found it is increasing.

Expected behavior

Environment:

  • RadonDB MySQL version: operator

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions