My program is using webbrowser in c# and if i change too much page, i get memory leak problem. I find some solution, but if I tried these solutions for example:
finally
{
GC.Collect();
GC.WaitForPendingFinalizers();
EmptyWorkingSet(GetCurrentProcess());
}
firstly, memory turns back to normal, but when i change to page or use to webbrowser, memory leak resumes from where it left off. I tried many things but I didn't find a solution.