Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process.Cmdline() is rising memory on windows #608

Closed
hoaidanh opened this issue Nov 16, 2018 · 1 comment
Closed

Process.Cmdline() is rising memory on windows #608

hoaidanh opened this issue Nov 16, 2018 · 1 comment

Comments

@hoaidanh
Copy link

hoaidanh commented Nov 16, 2018

There is my code

processArray, err := process.Processes()
for _, item := range processArray {
		
		cmd,_ := item.Cmdline()  //rising memory
		//do something
}

I check memory, it rising memory so fast, and item.Cmdline() is the cause, you can see in the picture

capture1

@Lomanic
Copy link
Collaborator

Lomanic commented Nov 16, 2018

Yet another duplicate of #250.

Please follow issue templates.

@Lomanic Lomanic closed this as completed Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants