Closed markleinhos closed 4 years ago
So you're saying out of all the nodes you have, just this one node is showing this behavior? Can you give me more details of this specific Windows machine? (ie: Build Number, version, etc. As well as details about the platform itself, like if it has AMT, etc.)
If to connect/disconnect the remote desktop over and over again, it does seem like RAM use on the agent goes up. Bryan will look into it.
I do indeed RD to this machine regularly, but only about once per day on average.
Win10 Pro 1903, Intel Pentium G3220 (no AMT support I'm pretty sure), Mesh agent would have been the release current from last month (I uninstalled it today).
Ok, I tracked down the issue. A recent feature that was added, introduced a race condition when a child process on Windows was explicitly killed and if/when the exit handler was called. In this case, if you disconnect KVM, the cleanup code may not have executed, which is where the leak came from.
This will require an agent update, so it will be released with an upcoming Mesh Central update.
Wow, you guys are ninjas, thanks for the hard work.
Closing this one as I am pretty sure it's fixed. Please open a new issue if you see a memory leak.
I have just one Win10 node on which the agent seems to have a memory leak and will consume more RAM over time (many days) until the system is unresponsive. Today it was using 10GB of RAM before I had to punt it. I've removed and reinstalled this agent but no change.
Has anybody else seen memory leaks like this on Windows nodes?