Open jcfernandez-890825 opened 1 week ago
Hi @jcfernandez-890825 ,
I just tested your code on Macbook Pro M1 16GB. Everything is working fine without any performance issues.
Hi @trinhanhngoc
Mmmm... this is weird ...
As soon as I disable the plugin the CPU usage goes away, maybe there is a problem when the Odoo plugin
interacts with another plugin ior feature?
Is there a inspection/analysis setting thing that might be causing this?
@jcfernandez-890825 ,
I need more information: PyCharm version? Odoo version? Other plugins?
@trinhanhngoc
Here is my info:
PyCharm 2024.1.4 (Professional Edition)
Build #PY-241.18034.82, built on June 24, 2024
Licensed to Juan Carlos Fernández
Subscription is active until November 13, 2024.
Runtime version: 17.0.11+1-b1207.24 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.0-107-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 10240M
Cores: 16
Non-Bundled Plugins:
com.jetbrains.space (241.18034.4)
Statistic (4.2.14)
dev.meanmail.plugin.nginx-intellij-plugin (2024.3)
XPathView (241.15989.65)
net.seesharpsoft.intellij.plugins.csv (3.3.0-241)
com.github.copilot (1.5.11.5872)
dev.ngocta.pycharm-odoo (2024.5.1.241)
com.intellij.bigdatatools.core (241.18034.62)
com.intellij.bigdatatools.binary.files (241.14494.158)
com.intellij.bigdatatools.rfs (241.18034.62)
zielu.gittoolbox (500.2.10+233)
Current Desktop: X-Cinnamon
@trinhanhngoc
Since this is not a module, but just a python package with DevOps scripts.
Maybe is indexing constantly all modules because there is no manifest?
@trinhanhngoc
I just tested your code on Macbook Pro M1 16GB. Everything is working fine without any performance issues.
When you did this did you added the code inside a module folder?
When I add a manifest file to xgo_dev_ops
. The problem stops.
@jcfernandez-890825 ,
No, I created a temp file in the root of the Odoo source code.
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?