I'm not sure that windbg is the right tool, but what I'm trying to do now
My asp.net application seems to have a memory leak, it continues to grow by about 3 MB almost every time the page loads (then it comes back down ...)
I want to read all the process memory and see what exactly is stored, what is not needed.
So, I run windbg, join the webserver40.exe process
I will try
.loadby sos clr
and i get
Failed to execute the LoadLibrary call (C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ sos), Win32 error 0n193 "% 1 is not a valid Win32 application".
Check your debugger configuration and / or network access.
It seems that I have sos.dll in Framework and Framework64
I tried using
.load C:\Windows\Microsoft.NET\Framework64\v4.0.30319\sos
but nothing is loading
I do not understand why he is looking for a vaild 32bit application. im on a 64-bit pc with 64-bit windows.
How can I download this sos thing?
Also, when I start, I get this warning
WARNING: The 7240 process is not included as a debug process. You can check the process, but no debug events will be received.
I also tried loadby sos mscorwks , this did not work, but I understand that it was stopped. I'm in asp.net 4
I also read somewhere that the code should be stopped when debugging before loading sos, which just hangs VS 2010.
Thank you very much.
Again, if there is another tool that can help me better, I'm all ears :-)