memory leak on schedule run on gobpf
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
sorry for create an issue in bcc,because gobpf's issue hasn't got any discussion for month.
I got a daemon agent memory leak issue, I rewrite bcc runqlat using gobpf, and runs it for 100ms for every 15 secs.
I dit it in this way: bcc.NewModule() -> load -> attach -> module.Close()
When I test my daemon, found there is a rapid memory leak, using memleak tool, I got a result like this

Is there is a way to manually free these memory or I'm not using gobpf the right way?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.