arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.3k stars 390 forks source link

Excessive memory occupation #1416

Open 13507086298 opened 2 years ago

13507086298 commented 2 years ago

Describe the problem

After editing this version for a period of time, I will occupy all the memory of the computer, and the CPU will be high. 屏幕截图 2022-09-09 132857 屏幕截图 2022-09-09 132927 屏幕截图 2022-09-09 133007 屏幕截图 2022-09-09 133213

To reproduce

After I open the IDE to compile, the memory of memory will be soaring.

Expected behavior

I have no idea

Arduino IDE version

2.0.0-RC9.4

Operating system

Windows

Operating system version

windows 10 21H2

Additional context

No response

Issue checklist

per1234 commented 2 years ago

Hi @13507086298. Thanks for your report.

Which board (or boards) do you have selected in the Arduino IDE when this issue occurs?

Does the issue occur when you are editing a specific sketch (or sketches), or does it occur even with the basic sketch you get from File > New?

After editing this version for a period of time

What is the approximate period of time?

13507086298 commented 2 years ago

Sorry, I haven't logged in to github recently because of drawing pcb boards. The development board I chose was uno, because I was using 1.8.19 and 2.0rc9.4 at the same time. At a certain moment, I suddenly found that the memory usage was abnormal. After I closed the two IDEs and restarted the operating system, many times Only start 2.0rc9.4 alone, and the abnormal memory usage occurs immediately. I didn't try to create a new sketch after this.