WesleyCanneyt;15984 wrote:
If we shut down visual studio then we have around 8 gb ram used.
Only visual studio we have 10-12 gb ram used.
With the info you've shared, I think that having only 8GB available for VS, NCrunch, and all your tests is probably not sufficient for the size of your solution.
5 years ago 16GB was easily enough, but these days even a single open website can eat 300MB.
The platform is eating more RAM too. I've noticed that the build system under VS2022 consumes around 4x as much memory as it did under VS2019. Now that VS2022 is also running under x64, the process will consume more memory, and we can expect this to grow rapidly now that MS are not restricted by the 3GB LAA x86 limit.
With a lot of careful configuration and a great deal of pain, you might be able to reduce your memory consumption to the point where you can work without lag again, but you'll be fighting a losing battle. In the long term, buying more RAM is your only real option here.
WesleyCanneyt;15984 wrote:
There are some hungry tests (from older projects) but they should not run when we are in "Run impacted tests automatically, others manually" engine mode.
We do have a setting that might help with this (
test process memory limit).