Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Possible memory leak in coinitService for CallMethod #61

Open
yusufozturk opened this issue Jul 13, 2021 · 1 comment
Open

Possible memory leak in coinitService for CallMethod #61

yusufozturk opened this issue Jul 13, 2021 · 1 comment

Comments

@yusufozturk
Copy link

image

If oleutil.CallMethod returns error, which is very possible in a high WMI load situations, then we do not release "wmi" or "unknown" objects. Also we are not able to call ole.CoUninitialize() anymore.

@jesus-velez
Copy link

@yusufozturk based on influxdata/telegraf#6807 (comment) would you know how to fix this? I am not a go programmer but willing to test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants