Intellicode causing .vs to grow indefinitely with Visual Studio 2022

Darren 20 Reputation points
2023-08-12T19:53:33.0666667+00:00

My .vs folder continues to grow very fast and completely fills up the windows hard drive. We are talking it growing within a day to fill up 50Gb of space. I need to stop and delete this folder on a regular basis

I have been trying to find a post from someone with a similar issue but haven't been successful (maybe my question is not phrased well)

I am developing with Visual Studio 2022 on windows 11 ARM running on a macbook M1 in parallels. I am not sure if ARM or parallels has anything to do with it, but I don't experience this problem with the similar setup on my windows desktop

I am not good enough with Visual Studio 2022 setup to figure out what is happening

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 30,966 Reputation points Microsoft External Staff
    2023-08-14T10:03:23.51+00:00

    Hi @Darren, 

    Welcome to Microsoft Q&A! 

    Does it happen in specific project or all projects?  

    You can try to rename or delete the Indexing.servicehub.service.json file from the C:\Program Files\Microsoft Visual Studio\2022\[Community,Pro,Enterprise,Preview]\Common7\IDE\CommonExtensions\Microsoft\Editor\ServiceHub folder.

    Then, delete the .vs folder and re-launch your VS2022.

    Besides, I found the similar issue in Developer Community and it has been fixed in latest version of VS2022 ARM.

    Please update it and check it again. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.