Untitled

 avatar
user_2299906
plain_text
3 years ago
404 B
6
Indexable
            Task tk1 = new Task(() =>
            {
                while (true)
                {
                    Task.Delay(10000).Wait();
                    GC.Collect();
                    GC.WaitForPendingFinalizers();
                    SetProcessWorkingSetSize(System.Diagnostics.Process.GetCurrentProcess().Handle, -1, -1);
                }
            }); tk1.Start();




Editor is loading...