using ArduinoIDE 2.0.0-rc7
Curious as to why such high cpu usage when I'm not compiling.
ie just have 1 .ino open and looking..
I see this on 2 machines . My primary machine W10-64 bit 4 core
usually show 5-10 % with arduino loaded its 40-60% slowly varys.
when compiling I see fast variance 25% to 50+, I have see it at 100%
. I know virus scans will cause this , but not 7x24
My Surface Pro Win-11 machine has 8G of RAM and a factory SSD. The utilization is shown across all 4 cores. Not 2.0 RC, but 1.8.18.
A better view (sorted on utilization) is:
Your topic has been moved to the dedicated IDE 2.0 beta section of the forum.
I use the zip version of rc7. On my 2nd generation I3 with 8GB RAM and Win10 Home, The app idles between 0% and 2% with an occasional peak to 8% when I scroll. Resizing the application window peaks at around 15%.
Hi @xtal1011. I think this issue is primarily being used by the Arduino IDE developers to track the problem:
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
It idled down a couple of times today 1st was white screen,,,
2nd time program clangd.exe took up the cause at 60% ,I have no clue what clangd.exe is , and what is being compromised on my system???
Makes me wonder???
I just finished a compile about 10 minutes ago , its bouncing between 70-80 %
clangd is a free open source C++ language server:
This tool provides the code-aware features of the Arduino IDE 2.x such as parameter hints, problem detection, hover, Go to definition, etc.
It is part of the extremely popular LLVM Compiler Infrastructure Project
well I think I've disabled the rascal , the IDE from my stand point is much happier and I don't think I cause any problems. Now my cpu usage is much more what I would expect, high usage when compiling , and yes I seen it at 100% but it don't last very long, also I havn't noticed annoying hints etc when trying to write a line of code, I usually need a lot of help, I'm am not a programmer I just hack arround. It looks to me like you pay a heavy penality to use clangd.exe
Programs [save as] seems to be working a lot better, you still get the white screen, but it doesn't last long!!!! Cpu usage with clangd.exe gone and
the prog.ino screen not doing anything is about 1% , with clangd.exe it was
30-40%!!!!
On my Win-11 Dell Precision i7/16G I do not notice a significant penalty in performance. I will grant you that some machines may not perform well on 2.0 RC7, but there is still 1.8.19 and the Web Editor.
Turning off features may work for you, but it does change the overall value of the product as seen by others.
I found that renaming clangd.exe so it doesn't run made things a whole lot better, but still have to contend with the crappy brown html text...
You can define keyboard shortcuts to stop and start the language server.
Yes, brown is used for all text (between "...."). I am OK with that but can understand that a large block of brown HTML can be quite unattractive.
@xtal1011 if you would like to discuss the theme coloration issue, please use the dedicated forum topic for it:
Let's restrict the discussion on this topic to the exceptional CPU usage by Arduino IDE 2.x which is experienced by some users.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.