Hi Michael,

Downloading the file was quick. The unpacking was very long.

Wouldn't it be possible to search for Maven artefacts when a pom.xml is written and not before? It seems that other IDEs don't work like NetBeans and don't download and unpack the index in advance. Am I wrong?

Best regards,

Richard

Le 15/09/2022 à 03:14, Michael Bien a écrit :
Hi,

2h is indeed long.

Last time i measured it was about 20mins on my workstation which is about 6 years old by now. Would be interesting to try to figure out what causes the such big difference.

Was the download itself slow? This can happen of course due to outside factors.

The good news is that subsequent indexing should be faster since it will download a delta.

It actually did run an update while writing this mail, here the log line:
INFO [org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl]: Indexing of central took 663.13 s.

there is some potential to parallelize it, but this is actually the only indexing job which is handled by a third party lib (local indexing is done by NB), so we would have to take a look upstream. There is also always the danger to melt laptops if you put all cores under load for a few minutes.

best regards,
michael


On 08.09.22 10:49, Richard Grin wrote:
Hello,

I have just downloaded and installed NetBeans 15 on Windows 11.

A very annoying problem: the loading and unpacking of the index for central repository took almost 2 hours. I'm afraid it will be even worse in the years to come.

Is there a workaround?

Regards,

Richard


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


--
Richard Grin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to