Why visual studio 2022 fill memory although I open only one instance

Ahmed Salah Abed Elaziz 390 Reputation points
2023-11-01T05:28:47.0233333+00:00

I work on visual studio 20222 asp.net core 7 applications with csharp . project is not big may be small or medium .

after open my computer and start working on visual studio 2022 it fill memory until computer hang or freezes and give me error

out of memory

from task manager problem show to me when open visual studio 2022 for any project more than 40 service open

so how to automatically not make this service running to prevent memory full .

I check task manager i found visual studio take too much from memory

so How to solve this issue please

image to issue

computer hang and freezes when open visual studio alone or with other application because service related that open with visual studio

serviceupdate

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,767 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,484 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
958 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 59,051 Reputation points
    2023-11-01T17:00:52.1066667+00:00

    That is how VS is designed. code is moved out to separate services to improve reliability. your VS is only using 2.6gb of memory, which seems about right. Maybe the page file is running out of space. check the size.

    you could switch to visual studio code if you have limited dev box resources.

    0 comments No comments