-
-
Notifications
You must be signed in to change notification settings - Fork 431
The startup takes a long time #385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What's the error if you start the IDE from the terminal? To start the IDE from a terminal, do the followings:
|
The error still exists, it still takes moren than 5mins to load up. |
What do you see in the terminal? Can you share the output? |
Hi kittaakos, I've also included a log from my 10 year old MacBook running MacOs Sierra which also does not take 10 minutes. Both show comments about certain processes being slow, and other warnings. |
Hello all. I also have the same issue. Version: 2.0.0-beta.10 |
Looks like it spends a lot of time checking for library and board updates... and retrying in case of error. Seems like these checks need to be more asychnronous. "root ERROR Error while updating index in attempt 9." Full log at https://gist.github.com/ckuethe/e3a4accf142e7668eb736a808c79e11c |
These library checks can be done, and the results of those findings can be stored in json-files, a light database and loaded next time from there if after a quick check it is clear that there has been a change in the libraries. Personally I have been loosing the time of a good holiday waiting for the Arduino IDE coming up in previous version, staring at the screen as if tomorrow does not exist, wondering who in earth makes this to be so slow and is able not to itch its brain to rethink the necessity of all the initialisation checks, and if maybe the outcome of these checks is 99% the same as in other starting up of the IDE. Ideas like caching of results come to mind, databases as stated, or simply an option in the menu for the user to update the Library-Database. It is all a bit like a car starting by itself when you walk to the grocery-store, since maybe you want to use the car for that and then the car needs to be up and running. This costs all wasteful gasoline, or wasteful CPU, HD-time and what not. |
I'm seeing the same problems. It appears that the IDE is looking to bind to port 50051 and failing repeatedly on startup (when launched from command line with
Doing some sleuthing, it looks like at least the multipass (Ubuntu virtual environment from Canonical) daemon starts uses launchd to bind to this port:
Unfortunately, just stopping the multipass daemon (using the Multipass's menubar widget) doesn't make the issue go away (since this is auto-launchd by launchd in the Mac and launchd appears to bind on port 50051). I don't know what the solution here, and I'm not even 100% this is causing the launch times to be so slow, but hopefully this helps a bit. |
Hi @gwachob. The situation with the gRPC port collision is discussed here:
The real solutions are discussed at #201 and arduino/arduino-cli#1260, but I'll provide instructions you can follow to resolve the port conflict:
Now try starting the Arduino IDE again as before. It should now start up and work as expected. |
Hi
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
the Arduino 2.0 ide startup needing 2 minutes, I start it form terminal, my Laptop is MacBook Pro (Apple Silicon) macOS 11.6.2 BigSur
|
SOMEONE HELP US!!... please fix this!!! it's very more important than your weekly cheap updates...... uh |
startup time 7 min. rc-5 |
I am using the latest nightly version on my MacBook 2020 (intel base model i5), and startup takes about a minute. |
Thank you for reporting it @AlexW00. Maybe it's #1428. Can you please share the logs with us? The easiest way to get the logs is by starting IDE2 from a terminal. If you open a open /Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE In my macOS, IDE2 is installed to The log starts with something like this:
|
Sorry, my bad. Looks like I did not install the new nightly version correctly, and I still opened the old build. The new nightly version starts in seconds. Thank you for the improvement! |
Describe the bug
When starting up the APP, it frozes with the splash screen and a running icon beind, it always takes 10mins or more to get fully loaded.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only few seconds to get load up.
Screenshots

Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: