JunoLab / Juno.jl

MIT License
144 stars 23 forks source link

uber-Juno keeps updating Julia at every start and it takes ages. #595

Open ramzeee opened 4 years ago

ramzeee commented 4 years ago

Every i start Julia over Atom and uber-Juno it does an update, the download goes fast and then i need to wait 10 minutes until the fetching is ready. What can i do to prevent or avoid this?

pfitzseb commented 4 years ago

What exactly is it downloading?

ramzeee commented 4 years ago

Thanks for asking. Atom or Juno is updating Julia every single time: image And after fetching, is 100% it still takes ages, and Atom is completly blocked for 10 minutes. I have an 8th gen i7 in my laptop, and no other things running, so to me it seems a bug. And although downloading is fast, i dont really like that its eating my mobile data every time i start atom and Julia. Removing and reinstalling did not help. Thanks for any help.

timholy commented 4 years ago

I can't answer why it's updating packages, but for the record, for me package updates take a few seconds, not 10 minutes. Let me guess: you're on Wndows and you have antivirus software running. Search discourse for some suggestions.

pfitzseb commented 4 years ago

Yes, that's the most likely cause for that specific issue. The fact that we're re-instantiating the required dependencies on every start is very weird though. Can you confirm that C:\users\rspro\.julia is persistent?

ramzeee commented 4 years ago

Yes I am on windows, its an office computer, so i cant change the antivirus so easily. I think that it is so slow has to do with this problem, which i also have. But i can live with that because i can download packages before going on a break or overnight. But Starting Atom and Juno happens more often. Besides the long time it takes, i also would just like to control updates manually if possible.

The folder C:\users\rspro\.julia exists and has subfolders "logs" and "registries" in which all sub-folders and files have a time stamp from the date of first installation of julia 11 May. So whatever it is downloading or updating, it seems not to be written in this folder. Which seems weird to me.

pfitzseb commented 4 years ago

Is (was) this a JuliaPro installation at some point?

ramzeee commented 4 years ago

No sorry the username is rspro multiple people working on the same account on this project. But it was a normal Julia installation, i never heared of JuliaPro until now.

ramzeee commented 4 years ago

I now excluded the user.julia folder but it didn' speed up. I tried uninstalling and reinstalling. No change it is still painfully slow.
But after i removed the C:\Users\rspro.julia\registries and restarted atom and Juno and Julia, i had to wait 10 minutes or so. But then the next time it only took 30 seconds to start Julia, and it didnt update or download anything which is a huge improvement. But the Installation of new packages still can take 20 minutes or so.