facebookincubator / oomd

A userspace out-of-memory killer
GNU General Public License v2.0
1.8k stars 143 forks source link

memleaks ??? #158

Closed jelmd closed 2 years ago

jelmd commented 2 years ago

Each time a detection group/action fires, oomd RSS mem usage (/sys/fs/cgroup/system.slice/oomd.service/memory.current) rises in my test environment ~ 400..500 KiB. Are there any mem leaks?

lnyng commented 2 years ago

We are not aware of any memory leak as for now. It's hard to tell if what you observe is a memory leak without more details. If this RSS rise accumulates to some unreasonable amount, please show some script to reproduce so we can investigate.

jelmd commented 2 years ago

ok, thanx. Haven't had the time to do deeper analysis, yet (and because I'm not a C++ expert it is hard for me to find out anything). Anyway, just asking to avoid waisting resources by digging into stuff, which has been already solved.