Bug 47401 - Cache Folder continues to grow in size
Summary: Cache Folder continues to grow in size
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Installer ()
Version: 4.2.0 (C8)
Hardware: PC Windows
: Normal normal
Target Milestone: 15.4
Assignee: Jose Gallardo
URL:
Depends on:
Blocks:
 
Reported: 2016-11-18 19:22 UTC by James Montemagno [MSFT]
Modified: 2017-07-26 12:59 UTC (History)
9 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description James Montemagno [MSFT] 2016-11-18 19:22:31 UTC
I have gone through many updates and in %LOCALAPPDATA%\MonoDevelop-4.0\Cache\TempDownload it was 6GB

It should clean up after itself.
Comment 1 vga 2016-12-30 16:30:43 UTC
We have brainstormed with the team about this and the enhancement/fix we think we can do is to keep just the latest MSI for each channel (for each product).

As the updater doesn't allow you to go back in history and install previous versions, it's true that keeping them in the cache makes little to no sense.

It's currently scheduled for C10, but we may still be able to get in sooner if time allows.
Comment 2 Jon Douglas [MSFT] 2017-02-06 20:42:49 UTC
I think keeping the latest MSI for each channel & product is reasonable in the case that customers want to switch between the channels and not re-download the msi.

Some customer complaints I've got in the past is how much storage Xamarin actually uses based on a FirstRun situation. Depending on how often one cleans their machine, this cache folder can really expand quickly over a time period of installing Xamarin updates. 

The other note here is why are we using the old naming here? Customers won't clear out caches themselves given they think this is a separate product(MonoDevelop/Xamarin Studio).
Comment 3 Ben Beckley 2017-06-08 20:33:47 UTC
Changing the milestone from C10 to 15.3 on the basis that 15.3 is focused on bug fixes, and this seems like a great candidate to be included.

If not at least it is back on the radar, and off a dead milestone.


=====

https://www.screencast.com/t/Xt7UQoD3hFPE

This is ~7 months of downloading through the VS2013/15 XVS updater.
Comment 4 xamarin-release-manager 2017-06-22 15:31:52 UTC
Fixed in version 4.7.0.60 (master)

Author: josegallardo
Commit: 817e8626b37101684e7e8351aabef8cd77f29c56 (xamarin/XamarinVS)
Comment 5 Jose Gallardo 2017-07-06 11:43:22 UTC
Updating target milestone to 15.4 as this patch didn't land on 15.3