I created to issues in JIRA about this thread:
https://issues.apache.org/jira/browse/NETBEANS-514 and
https://issues.apache.org/jira/browse/NETBEANS-516

Victor Williams Stafusa da Silva

2018-03-21 19:54 GMT-03:00 Derik Devecchio <[email protected]>:

> My first message was not fully baked and my intended meaning was missed.
>
> I was trying to point out that after 1-2 years of use, my Netbeans 8.1
> cache was still a reasonable size, ~140 MB.   From my one data point, I
> don’t see that there is a cache problem at all.  Only a Maven Index problem
> which is a different beast.  Are other people’s “large cache” problems also
> tied to use of maven central’s 2.5GB index?   There may be some people that
> consider even 140 MB of cache data to be a problem.
>
> Thanks Emilian for pointing me to the “on line” plugin for maven to avoid
> using the local index.   My alternative was to copy the one maven-central
> library that I still use to our local repository, but this plugin idea
> seems much more elegant way to manage this.
>
> As for the size of the maven index, Gili asked about the downsides of
> using the plugin by default.   Maybe the default should be to not use an
> indexer at all.   Projects that are available in a maven repository
> frequently publish the POM entry in a copy/paste format right in the
> “downloads” section.   I have never had to rely on autocompletion in a POM
> file to get my work done.   My maven usage may be atypical.
>
> —
> derik
>
>
>
> On Mar 21, 2018, at 12:08 AM, Emilian Bold <[email protected]<
> mailto:[email protected]>> wrote:
>
> I have used NetBeans 8.1 on my Mac of at least a year, maybe 2.   Upon
> investigation 2.49 GB of the 2.63 GB that were in my cache were located in
> maven indexes/central/.    I have only use one library in Maven Central
> (others are in a local repository).   I was unaware that adding that small
> project (less than 10 classes) was causing maven to chew up almost 2.5 GB
> of HDD space.
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__plugins.
> netbeans.org_plugin_68415_maven-2Dremote-2Dsearch&d=DwIFaQ&c=
> euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=
> LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=
> A2yEU57VLfbAoySIU9qsy4iuseO1wDRLy_Jhtk7H9co&s=L-iWe6-z67YTGw5kiEZTWTKZxH-
> wZUGtEZhQAL4HdNI&e= , made by me, which I believe should become the
> default in NetBeans installs (after much testing, rewriting, etc.)
>
> ​--emi
>
> I have used NetBeans 8.1 on my Mac of at least a year, maybe 2.   Upon
> investigation 2.49 GB of the 2.63 GB that were in my cache were located in
> maven indexes/central/.    I have only use one library in Maven Central
> (others are in a local repository).   I was unaware that adding that small
> project (less than 10 classes) was causing maven to chew up almost 2.5 GB
> of HDD space.
>

Reply via email to