docfx
docfx copied to clipboard
Insanely large DocFX folder
Operating System: Windows
DocFX Version Used: 2.59.0
Template used: default
(I think)
Steps to Reproduce:
- Check the size of the
.docfx/downloads3
folder.
Expected Behavior:
A reasonable size ... i.e., DocFX does something to keep this folder from growing forever until the system runs out of drive space.
Actual Behavior:
This folder had grown to 56 GB and wiped out all of my remaining drive volume space.
I agree we could do something to keep that folder from growing indefinitely. In the meantime, deleting the .docfx/download3
or .docfx/git6
folder is completely safe. They are just for caching.
A caching design that isn't kept tidy by the app and at the same time escapes a Windows volume Disk Cleanup is a disaster. This design never should've been approved in the first place.
I just cleared these folders again six weeks later ... 8 GB of DATA! 😩
Please do not let this slip off of the v3 roadmap.
Thanks for the update! I have created an internal customer suggestion and route to the relevant team.
Hiya! I just discovered this problem on my MacBook.
I'm running MacOS Monterey v 12.6.1 but the problem goes back to 2020 at least, so who knows what I was running then.
$ du -hs ~/.docfx/*
46G /Users/ekpgh/.docfx/downloads3
31G /Users/ekpgh/.docfx/git6
GrandPerspective showed 88GB of files in there this morning. I cleared out the files from 2020 and got almost 10 GB back. My oldest files were from October 2020.
Good to know I can just delete them all.
I don't directly use DocFX, but I use Visual Studio Code to work on documentation in Markdown. The cached files I see resemble the documentation repository I work in.
Close as this is to be taken care of by internal Microsoft teams.
Is there a Microsoft-internal way to trace this? I'm in Microsoft. I followed that work item link in the March 27 comment and it gives a 404 even though I'm logged in.
@ekpgh This internal customer suggestion is still valid, there are likely some permission problems. Meanwhile you can contact misaso
for internal inquiries. We are in the process of transitioning docfx to be an open source community driven tool, mslearn content will be supported by a dedicated internal tool. See this discussion comment for more details.
Still happening as of Feb 2023, every few days I am deleting 12+GB of files from downloads3 and git6, most of it seems to be for repos that I don't use, like azure-docs-pr (I have used/cloned it in the past but I don't use it anymore)
@guardrex - was there ever a solution to this? It continues to happen on my computer too.
Not that I'm aware of. I've abandoned using docfx locally. On my latest PC build here, I never installed it, so I don't use it any longer. Therefore, problem solved! 😆 ... of course, not quite in the way that we were hoping.
[laugh] Francis Langlois reacted to your message:
From: Luke Latham @.> Sent: Friday, April 14, 2023 11:37:44 PM To: dotnet/docfx @.> Cc: Francis Langlois @.>; Comment @.> Subject: Re: [dotnet/docfx] Insanely large DocFX folder (Issue #7885)
Not that I'm aware of. I've abandoned using docfx locally. On my latest PC build here, I never installed it, so I don't use it any longer. Therefore, problem solved! 😆 ... of course, not quite in the way that we were hoping.
— Reply to this email directly, view it on GitHubhttps://github.com/dotnet/docfx/issues/7885#issuecomment-1509393651, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATWH4S5DELP42XVVOQTBARTXBHNURANCNFSM5OG6YNUQ. You are receiving this because you commented.Message ID: @.***>
My (fairly new but hardly beefy) computer is dying! Uninstalled docfx and cleared space, still 18 gb of downloads! Happy to know I can delete them. Maybe they will not regenerate since I uninstalled it?
My (fairly new but hardly beefy) computer is dying! Uninstalled docfx and cleared space, still 18 gb of downloads! Happy to know I can delete them. Maybe they will not regenerate since I uninstalled it?
What did you uninstall?