One quick datapoint. 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.
> On Mar 20, 2018, at 2:59 PM, Christian Lenz <christian.l...@gmx.net> wrote: > > Hey Victor,, > > of Course the Folders are needed, but sure maybe not that hidden. Afail, > IntelliJ, WebStorm, PHPStorm or vscode, makes the way like I already know it > from a lot of other enviroment stuff, they use a .folder for the stuff. So > .intelliJ, .webstorm, .vscode so this is more common as .vmware makes this or > .git. Sure those Folders are still hidden, but we are developers, we should > know about it or we should find it via Google easily to see those Folders if > needed. > > So maybe this could be am enhancement to have the Folder here: > C:\Users\Me\.netbeans instead of C:\Users\Me\AppData\Local\NetBeans and > C:\Users\Me\AppData\Roaming\NetBeans. > > The plugin Cache eraser works quite nice within NetBeans, I tested it, but > sure, it could Show you the index and how big it is and what files are inside > of it and and and. But it is working as expected. > > > Cheers > > Chris > Von: Victor Williams Stafusa da Silva > Gesendet: Dienstag, 20. März 2018 22:40 > An: dev@netbeans.incubator.apache.org > Betreff: Re: Netbeans cache and configurations > > @cowwoc > > I was debugging and hacking lombok, and so making Netbeans crazy. I won't > go through the details in this thread to not hijack it and I will answer > something in the other one soon. However (lombok aside) it is rare for me > to get Netbeans confused about something, it was much more common some > years ago. > > Also, I understand about the security stuff, but I guess that this should > be optional. If Alice and Bob cooperatively programs in the same computer > both with their own users, then if Alice installs a (say) Jenkins plugin, > Bob shouldn't be required to download it once again. Also, if Alice > compiles that maven project with millions of dependencies that downloads > the internet, it would be a pain if later, Bob have to do it all over > again. So, maybe there could be a setting somewhere to say (a: "I use > Netbeans exclusively within my user account"; b: "I want to share my > Netbeans with other users accounts of this computer"). > > @Antonio > > I'm somewhat a newbie here and don't know yet how to file a JIRA issue, but > will find out how to do that. It seems that we have two issues here: the > cache-purge issue and the user-sharing issue, so I would file two. Wouldn't > it be marked as a dup to @Валера's bug on bugzilla? > > Also, I downloaded the old plugin and gave a look at it and it is not what > I expected because: (1) It asks the user to tell the path where the > Netbeans cache is instead of finding it out that by itself; (2) It do not > knows or care if the user are really telling the truth and will delete all > the files in the given path, even if it has nothing to do with the Netbeans > cache; (3) It takes no measures whatsoever to protect NetBeans from > shooting itself in the foot or something like that other than just asking > the user to save everything and warning that it could cause abnormal IDE > termination; (4) It also relies on an (optional) external file unlocker > program that should be provided by the user to ensure forcefully deletion > of files. > > Victor Williams Stafusa da Silva > > 2018-03-20 18:28 GMT-03:00 Валера Солдатов > <https://urldefense.proofpoint.com/v2/url?u=http-3A__v.f.soldatov-40gmail.com&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=MhhcreE_nTvFNIGelNRKOcnJvdNbS5G4ByfZ43rjgBQ&s=ZkmRO4qj5gsb95kuvpAOV58zNgjmcZMZTE7jxjsMJxU&e=>: > >> Also we had >> https://urldefense.proofpoint.com/v2/url?u=https-3A__netbeans.org_bugzilla_show-5Fbug.cgi-3Fid-3D267606&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=MhhcreE_nTvFNIGelNRKOcnJvdNbS5G4ByfZ43rjgBQ&s=2QhOVWaD3LZnn5xqdHqWFKV7p4PZNQ-K26aLSjeFGkA&e= >> >> 20.03.2018 23:33, Antonio пишет: >> >> Some comments below >>> >>> On 20/03/18 19:01, Victor Williams Stafusa da Silva wrote: >>> >>>> [big complaint removed for the sake of space] >>>> >>> >>> Please file an issue in JIRA and label it as an enhancement. >>> >>> >>>> So, I'll question if there is a easy way to purge the cache from the >>>> inside >>>> of the IDE that I'd overlloked so far for whichever reason? If not, would >>>> it be a good idea to add that? Also, is there a way to rate-limit it to >>>> avoid it consuming too much disk space? >>>> >>> >>> It's probably not easy to purge the cache while running. We could devise >>> a way to delete/clean it up when the IDE exits, or when it starts. >>> >>> >>>> I am very far from knowning the gory details of NetBeans internal stuff, >>>> so >>>> I am afraid that I am just talking bullshit here and this is a big >>>> misunderstanding, sorry if this is the case. However, even if this is the >>>> case, I would likely to know nonetheless. >>>> >>> >>> This is not bullshit. It's a nice feature, IMHO. >>> >>> Some other IDEs have this feature as well. XCode, for instance, is able >>> to delete some internal directories it uses, and that get in the way _all_ >>> the time. >>> >>> I'd like to have a feature where you could see how much cache you're >>> using and to remove it somehow. Also a list of previous NetBeans version >>> directories could be provided, with proper delete buttons also. >>> >>> >>>> It is not just me that hit this issue. Google for "netbeans cache" and >>>> most >>>> of the results will be from people asking about how to clear the cache >>>> because NetBeans got confused or something like that. There is even an >>>> old >>>> plugin called "Cache Eraser". >>>> >>> >>> Ah, so we had a plugin for that. >>> >>> >>>> Victor Williams Stafusa da Silva >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org >>> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org >>> >>> For further information about the NetBeans mailing lists, visit: >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=MhhcreE_nTvFNIGelNRKOcnJvdNbS5G4ByfZ43rjgBQ&s=DjZf-E-wG5nC5upZBXWsJK7H2MhH3qKI0mu5moq6Gi4&e= >>> >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org >> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org >> >> For further information about the NetBeans mailing lists, visit: >> https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwIFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=LEbKaWj9ZrFRBadYtwZVnHfoaHpGoEmzs1DrtRBDEg8&m=MhhcreE_nTvFNIGelNRKOcnJvdNbS5G4ByfZ43rjgBQ&s=DjZf-E-wG5nC5upZBXWsJK7H2MhH3qKI0mu5moq6Gi4&e= >> >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists