-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[Bug] Very high CPU and memory usage #5104
Comments
I see a looooooooot of these in strace output
|
Curious if your installation is getting configured as Linux/AMD instead AARCH. It might be a good idea to try using Python 3.10, just replace the |
can you please elaborate ? I'm on AMD
Tried doing Python 3.10, same issue. |
I see, so much for that theory! The reason I was curious architecture emulation can be a real drag sometimes, but that does not fit with your symptoms. It is extremely difficult to support all Linux configurations, because there are many variables and variations. Some distributions work better with Miniforge: https://github.com/conda-forge/miniforge#miniforge What is your CPU generation, make, and model? Please be as specific as possible with your hardware and software configurations. Otherwise, we don't really have a starting point. :) |
Does this help ?
Is there any background process that does I/O and might be stuck in the loop ? Tried disabling posthog, didn't helped. Also tried installing from source, didn't helped. |
Are you running 32-bit processes? What is your exact Linux distribution, build, and configuration? Can this be a factor? |
doesn't seems like any of this is related. I'm on AMD. so there is no way I can debug what thread is using all memory ? I've tried cProfile and stuff with no luck. There is nothing that comes up to your mind in regards to cpu consumption ? Also tried installing I don't need any forecasting libs, I just want to see couple of charts. |
As a Python developer myself, I have a bunch of python projects and libs, browsers, editors etc etc. none of the other Python processing are using anywhere close of this amount of CPU. I've been going thought openbb source code, from entry point and to input loops trying to find where bottleneck might be. I'm very sure it's something in the code, but you never know. |
I'm sure others might have similar issue but just didn't noticed. It's more noticeable on my machine. Docker way works fine, but it's too much overhead for me. Thanks a lot for your help! ❤️ |
You are currently the only user reporting this issue, so it is likely something related to your local system configuration. As you showed, you are running Intel, |
My processor is neither Intel nor ARM. https://en.wikichip.org/wiki/amd/ryzen_7/pro_4750u
|
@hjoaquim, have you ran into this before? |
another experiment. I will go though all the Threads / Multiprocessing / etc parts of the openbb code.
|
haven't found exact reason, but this is the line where separate process starts and CPU jumps. will solve it later today. is it |
Created follow up OpenBB-finance/pywry#77 I think we are close |
Describe the bug
I install openbb via conda. Immediately after starting openbb, memory and CPU usage of the openbb process jump to very high numbers.
Unfortunately, this makes this amazing software unusable for me.
To Reproduce
Screenshots
top
perf
Desktop (please complete the following information):
LXQT
The text was updated successfully, but these errors were encountered: