Arduino IDE 1.8.13 on a Raspberry Pi 3

It is really astonishing how well the Arduino IDE 1.8.13 runs on a Raspberry Pi 3 32 bit.
It compiles practically at the same speed than an i5 64bit Windows system with 8GB of memory.

The only really nerving part is the management of libraries.
The Raspberry Pi lags over 15 seconds on every character entered in the search line!

Can't that be improved?
The search-on-the-fly is here a major productivity killer.
Thanks for considering.

This is unexpected for Arduino IDE 1.8.13. The modern behavior (I believe introduced in Arduino IDE 1.8.10) is for the search to only occur after either the user presses Enter or 1000 ms have passed since the last character was entered in the field:

That does not match may experience.
rigt from the beginning when you invoke the livrary manager you will get a huge lag: the menu gets frozen, the libraries appear after ages... Then every change in the search criteria leads to a 15 seconds lag.
One must also mention that this behaviour happens mainly due to a scarce memory of 1GB only.
On a 2MB Raspberry 4 you get no unacceptable lag.
On the Raspberry A3, that has only 500MB, the lib manager displays a java heap error.
Else, the Raspberry A3 compiles well with 500MB, only the lib manager is a horrible memory hog...
Even a Pi Zero will do the compiling job, at its senator pace, but don't even think to use the lib manager...

This part is not surprising to me, since it must download (depending on whether the cache has expired), then load the ~18000 library releases from the ~19 MB JSON file.

Reading a 19MB JSON file should not be an issue with 500MB memory too, but it apparently is in Arduino IDE's own Java virtual machine.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.