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

Performance/memory issue with projects such as OpenCV #5742

Closed
sean-mcmanus opened this issue Jul 8, 2020 · 2 comments
Closed

Performance/memory issue with projects such as OpenCV #5742

sean-mcmanus opened this issue Jul 8, 2020 · 2 comments
Labels
bug Language Service more info needed The issue report is not actionable in its current state not reproing We're not able to reproduce the issue (it's unlikely to get fixed until we find one). performance

Comments

@sean-mcmanus
Copy link
Contributor

Seem to be having the same issue here. cpptools can easily run up 8GB of memory.
VSCode used only for editing, no compiling.
Also, I rarely use the Go-To-Definition feature and it hangs before I even hover over a variable.

Environment:

  • Ubuntu 18.04,
  • 6 (12) core
  • 16GB RAM
  • v0.29.0-insiders

Some large, open source libraries used:

  • OpenCV
  • PCL

Originally posted by @mgsteinkamp in #5227 (comment)

@sean-mcmanus
Copy link
Contributor Author

@mgsteinkamp I'm not observing any performance/memory issue with OpenCV on Linux configured with CMake Tools. Can you provide repro steps in regards to how you're configuring your project, what file is opened, etc. The output of C/C++: Log Diagnostics might be helpful.

@sean-mcmanus sean-mcmanus added bug Language Service more info needed The issue report is not actionable in its current state not reproing We're not able to reproduce the issue (it's unlikely to get fixed until we find one). performance labels Jul 8, 2020
@mgsteinkamp
Copy link

@sean-mcmanus Thank you for the response.
I was not using CMake Tools.

From another user's comment,
adding files to the exclude list seems to have helped immensely.
In my case, I also had to set cpptools' Exclusion Policy to checkFilesAndFolders.

I think the issue came up one more time after that, but I haven't been able to reproduce it since then. Sorry!

@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Language Service more info needed The issue report is not actionable in its current state not reproing We're not able to reproduce the issue (it's unlikely to get fixed until we find one). performance
Projects
None yet
Development

No branches or pull requests

2 participants