Closed
Description
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)
- (Time since IDE launch: 0mins) CPU 0% and RAM about 400MB. Indexing completes in less than 2s.
- (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.
- (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.
- (Time since IDE launch: 0mins) Saving and restarting the IDE brings the CPU down to 2% and RAM to 500MB.
To Reproduce
- Load up a sketch
- 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