The EmptyWorkingSet function takes a process handle. It removes as many pages as possible from all processes working set. This operation is useful primarily for testing, tuning and replace Garbage Collector (GC) in real-time.
- Visual Studio 2022
- C# 7.3
- .NET Framework 4.8
Working Set Information: https://msdn.microsoft.com/fr-fr/us-us/library/windows/desktop/ms687398(v=vs.85).aspx
Pascal Hubert - Brussels, Belgium 2025.