influxdata / influxdata/kapacitor
Kapacitor memory leak
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Hey,
I am using kapacitor 1.2.0.
I currently have 751 tasks and no error logs
About half of my tasks are using a window.
**Some of the window tasks contain a group by expression dividing them to several windows**
After restarting kapacitor it is using 3.5GB of RAM but the memory rises by about 1.5GB per day as you can see in the attached image.
Is there a known cause for this?
Thanks

Contributor guide
Research direction
No source files, tests, or entry points are named. Start by reproducing the reported setup with 751 tasks, window tasks, and grouped windows while monitoring Kapacitor memory growth; done means identifying the leak and confirming memory remains stable after the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100