At start of the IDE downloading the 39Mb library_index.json takes minutes to hours. #2501
Closed
3 tasks done
Labels
conclusion: duplicate
Has already been submitted
topic: CLI
Related to Arduino CLI
type: imperfection
Perceived defect in any part of project
Describe the problem
When the IDE is started it start downloading packages. This takes minutes on a fast PC with high speed glasfiber internet and on a older PC it takes forever as I noted at a friend his PC with probably slower internet.
The IDE can not be used properly when the packages are downloaded.
At first I blamed the Espressif esp32 package I had in my Additional boards
together with the Earl Philpower package_rp2040_index.json
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json was the last line in the Additional boards.
"Downloading package ....". is what is displayed Right under in the IDE window in a annoyingly placed window. (This window blocks the last lines of information)
"..." is probably the last packages in the additional boards but not what it is downloading and causing the problem
After I removed all additional boards but now I see downloading library_index.json is probably the blame.
This is a json file of 39MB with 967379 lines of text!!
To reproduce
Start the IDE for the first time at the start of a new day.
Probably the file is downloaded two a three times per day but difficult to reproduce
After a successful download the IDE does not download the packages for several hours
Expected behavior
A fast startup like the IDE1 where there is no noticeable time of installing packages at startup.
Arduino IDE version
2.3.3 nightly 20240422
Operating system
Windows
Operating system version
W11
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: