Serial monitor is a memory+CPU hog #2634
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
topic: serial monitor
Related to the Serial Monitor
type: imperfection
Perceived defect in any part of project
Describe the problem
I have been working on a program and, so I can tell where in the various loops I am, I have it serial print a single character at the start of each loop.
The trouble is that after a minute, the entire IDE starts to run very slowly. After a couple more minutes, it is unable to summon the CPU power required to compile code, let alone attempt to upload it. Even scrolling your code becomes impossible.
Unplug your USB cable from Arduino, and after a few seconds, everything becomes springy and light again.
To reproduce
Run this:
Expected behavior
Processing priority of the serial monitor should be lower than the text editor, compiler, and probably some other things, too.
Arduino IDE version
2.3.4
Operating system
Windows
Operating system version
10 Pro
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: