-
Notifications
You must be signed in to change notification settings - Fork 5
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
High CPU usage on PyCharm #475
Comments
Hi @jcfernandez-890825 , I just tested your code on Macbook Pro M1 16GB. Everything is working fine without any performance issues. |
Mmmm... this is weird ... As soon as I disable the plugin the CPU usage goes away, maybe there is a problem when the |
I need more information: PyCharm version? Odoo version? Other plugins? |
Here is my info:
|
When you did this did you added the code inside a module folder? |
I have the same problem on my pyCharm : %CPU Subsystem PyCharm 2024.1.6 (Professional Edition) Runtime version: 17.0.11+1-b1207.30 aarch64 dev.ngocta.pycharm-odoo (2024.6.1.241) |
@imlopes , How long does the plugin make high CPU usage when you check? |
Now it's deactivated on my machine but the problem is :
For information :
Here my run configuration when I was using the plugin :
And reading this comment I think I don't give you the answer for your question, so :
|
@imlopes , Thanks for the additional information. Can you capture screenshots of the Activity Monitor window when the plugin makes high CPU usage for a long time (with Odoo Run Configuration)? |
https://drive.google.com/file/d/10Ciotfj-OFzFMTvK7-Yo1zKVVS85xME7/view?usp=sharing I can't use the plugin :/ |
@imlopes , The high load is strange. Is the source code you are using public on github?. I want to reproduce the problem on my laptop. |
Yes, I agreed w you, is really strange.
And so on... |
While I was trying to create a script to do auto-upgrades, my laptop CPU usage went of the chart all of a sudden, and now is very hard to add just 1 line of code.
I have a
32GB of RAM
and a12th Gen Intel Core i7-1270P
with12 cores
, so I don't think this is a hardware issue.Here is the code
Could you please add this code into a file and try editing it?
The text was updated successfully, but these errors were encountered: