Does Deleting a Project Free Memory from Objects?
-
I'd like to delete old VS 2013 C# Projects. Will deleting them in the Documents > Visual Studio 2013 > Projects folder also free memory being used by Objects or do I still need to wait for the VS Garbage Collection to get round to doing it? Thanks.
-
I'd like to delete old VS 2013 C# Projects. Will deleting them in the Documents > Visual Studio 2013 > Projects folder also free memory being used by Objects or do I still need to wait for the VS Garbage Collection to get round to doing it? Thanks.
I don't see how deleting a project would directly affect the amount of free memory. The memory usage is created by Visual Studio enviroment so in order to free that memory you need to achieve a situation where Visual Studio no longer uses the previously allocated objects. Deleting a project may or may not free resources. However, deleting a project in order to free memory sounds a bit odd. If your solution is large and contains multiple projects you can consider breaking it to multiple solutions and just referencing the assemblies from another solution. This may help if you're running low on memory.
-
I don't see how deleting a project would directly affect the amount of free memory. The memory usage is created by Visual Studio enviroment so in order to free that memory you need to achieve a situation where Visual Studio no longer uses the previously allocated objects. Deleting a project may or may not free resources. However, deleting a project in order to free memory sounds a bit odd. If your solution is large and contains multiple projects you can consider breaking it to multiple solutions and just referencing the assemblies from another solution. This may help if you're running low on memory.
Mika Wendelius wrote:
If your solution is large and contains multiple projects you can consider breaking it to multiple solutions and just referencing the assemblies from another solution.
Thanks Mika!
-
Mika Wendelius wrote:
If your solution is large and contains multiple projects you can consider breaking it to multiple solutions and just referencing the assemblies from another solution.
Thanks Mika!
-
I'd like to delete old VS 2013 C# Projects. Will deleting them in the Documents > Visual Studio 2013 > Projects folder also free memory being used by Objects or do I still need to wait for the VS Garbage Collection to get round to doing it? Thanks.