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

Extreme CPU usage and temperature when indexing repos #405

Open
mwmdev opened this issue Apr 21, 2023 · 3 comments
Open

Extreme CPU usage and temperature when indexing repos #405

mwmdev opened this issue Apr 21, 2023 · 3 comments
Labels
feature A new feature

Comments

@mwmdev
Copy link

mwmdev commented Apr 21, 2023

Describe the bug
I'm indexing repositories and I'm getting 100% CPU useage and > 100° temps that end up slowing down and crashing the PC

Expected behavior
Indexing smoothly with no excessive CPU use.

To Reproduce
How can we reproduce the bug? Helpful information could include:

  • Ubuntu 22.04.1 LTS / kernel 5.15.0-69-generic / AMD Ryzen 5 3600 (12) @ 3.700GHz / 32G RAM
  • bloop v0.3.4
  • index any github or local repository
@mwmdev mwmdev added the bug Something isn't working label Apr 21, 2023
@rsdy
Copy link
Contributor

rsdy commented Apr 21, 2023

Thanks for letting us know this!

Bloop currently defaults to using 50% of the available CPU capacity, which in your case means 100% of your physical cores. This can indeed put a lot of pressure on a Ryzen box. However, I run a similar machine for performance testing bloop, and these temperatures look extreme (assuming Celsius), and may indicate issues with overclocking/insufficient cooling.

It's on our roadmap to leverage GPUs for indexing and make the resource use scale dynamically, but I don't have an ETA on this yet.

In the mean time, I'll make an issue to allow manually overriding how many cores bloop can use, if that looks like a good option?

@mwmdev
Copy link
Author

mwmdev commented Apr 21, 2023

Sounds great !

I'll also see what I can do in terms of cooling.

@ggordonhall ggordonhall added feature A new feature and removed bug Something isn't working labels Oct 24, 2023
@SamirMagdyI
Copy link

I have issue similar to this on win 11 the app crush out of memory without anything when I leave the app open and not use it and all the program in my windows need to be restarted due to this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

No branches or pull requests

4 participants