After distro-upgrade of Linux Mint to 22.1 I have had weird problems.
While I distro-upgraded the OS, I also upgraded the Arduino IDE 2.3.1 -> 2.3.4 and installed all the board and library backs.
The problem with the program size.
I have an older sketch, which compiled before with no problems. Now it keeps telling:
-"Sketch uses 1732633 bytes (132%) of program storage space. Maximum is 1310720 bytes."
Yesterday IDE told the same sketch used 117% and then 126%.
I have rebooted my laptop between these cases.
One time I managed to compile the sketch, when I first compiled an older version of it and then straight away the new one.
The sketch contains about 980 lines of tight code.
What to do ?
I would not like to trim the code.
And I have some other rather large projects waiting.