Skip to content

Indexing/building performance issues #714

Closed
@Wezz19

Description

@Wezz19

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:
#431
#709

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions