As in the title, RC3 of the IDE is slow and just gets slower until it's unusably slow. This is on a M1 MacBook Air.
Hi @ianikrb . There is a similar report here:
opened 08:47PM - 22 Dec 21 UTC
closed 07:02AM - 10 Aug 22 UTC
conclusion: resolved
topic: code
type: imperfection
topic: language server
criticality: high
**Describe the bug**
- High CPU and RAM usage for the IDE process, when working… on a sketch for longer than 30mins.
- Indexing and building never stops after 60+ mins
- Scrolling the editor is extremely slow and choppy after 60+ mins
- Hovering the pointer over variables never brings up additional info about them, after 30+ mins
- (The IDE has never crashed for me though, even after 4+ h usage)
(all the CPU and RAM usages are for the IDE 2.0 process)
1. (Time since IDE launch: 0mins) CPU 0% and RAM about 400MB. Indexing completes in less than 2s.
2. (Time since IDE launch: 30mins) CPU 47% and RAM constantly jumping between 1100->500MB, indexing and building sketch takes longer and longer after even the tiniest edit.
3. (Time since IDE launch: 60mins) CPU jumping between 57-49% and RAM jumping between 2300->1200MB. Memory graph in Task manager looks like a saw blade. Indexing and building never finishes.
4. (Time since IDE launch: 0mins) Saving and restarting the IDE brings the CPU down to 2% and RAM to 500MB.
**To Reproduce**
1. Load up a sketch
2. Edit, verify and upload for at least 30 to 60mins
**Workaround**
Restart the IDE every 30min
**Hardware/Software**
- OS: Windows 10
- IDE: 2.0 nightly 20211219
- CPU: i5-6200U
- Board: Nano clone
**Additional context**
Possibly related issues:
https://github.com/arduino/arduino-ide/issues/431
https://github.com/arduino/arduino-ide/issues/709
It is the sort of symptom that might have multiple unrelated causes that occur under different conditions, so I'm not certain that it is the same as the one you are experiencing.
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
Thanks.
I’m working on MacOS, so I’ll add a comment to the issue to reflect that.
system
Closed
July 23, 2022, 8:07am
4
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.