Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Library and Board managers a terribly slow (Read 343 times)
laszlo.frank
Junior Member
**
Offline


Posts: 15
Joined: Feb 27th, 2017
Library and Board managers a terribly slow
Oct 5th, 2024 at 4:52pm
Print Post  
Actually the whole vMicro explorer is extremely slow. No progress bar or any feedback for backgroung operations but looks like it is blocking the UI thread. Any plans to improve this ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Library and Board managers a terribly slow
Reply #1 - Oct 5th, 2024 at 11:02pm
Print Post  
There are plans to improve the board manager but there are some things that might help understand more:-

1) In recent months the size of many board packages has changed from 2 or 300mb to 2 or 3GB. They are huge. Therefore, the time taken to download depends on which packages you are inbstalling.

2) Over the past year or so a new compression type is often used by the packages. It gives a small download size but takes longer to unpack. That is heavily depedant on cpu and disk speed.

3) It is possible to continue using the explorer to download multiple packages at a time. The status bar of the explorer shows "Downloading or unpacking 'n' pcakges". When all packages are downloaded and expanded the status changes to "Click the reaload button to use the new packages"

4) It is possible to open a 2nd IDE instance and install from that one whilst using the other instance. In this case, click "vMicro>general>reload toolchains" to use the newly installed packages in the ide used for dev or restart it.

5) The board and library manager are compatible with the arduino ide. That can also be used to install. The actions in 4) above apply after installing via arduino ide.

6) Use "Task Manager > Performance" to view nbetwork, cpu or disk to see what is taking the time. It will either be the download or the unpacking (cpu)

7) Note. Uploading or building with a toolchain that is about to be replaced by a downloaded newer version locks the .exe files which prevents windows from deleting the folder prior to the new version being applied. This can cause a mess in the arduino packages folder where older toolchains are not deleted properly. Doesn't affect operation but can consume disk space.

8) There is little visual micro code involved in the download and install of new board packages. It's simply download and unpack.

I hope that helps.

« Last Edit: Oct 5th, 2024 at 11:08pm by Tim@Visual Micro »  
Back to top
IP Logged
 
laszlo.frank
Junior Member
**
Offline


Posts: 15
Joined: Feb 27th, 2017
Re: Library and Board managers a terribly slow
Reply #2 - Oct 7th, 2024 at 8:23am
Print Post  
Thank you for the response.

Please note that the biggest issue is the frozen UI, not the lengthy waiting time.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint