I am using C# for开发者_运维知识库 programming!
We have three load balance servers, it was working before, however we started getting below error now days for our PORTUGUESE website only and If I check the task manager it is an network service (W3WP.exe
) taking lots of memory. Once I kill that process from task manager it works fine and again tomorrow it starts coming.
There has been an overflow or underflow in GC memory pressure. The possible cause is unbalanced AddMemoryPressure and RemoveMemoryPressure calls
I have already checked my SQL connection in project, its all fine and are closed properly.
Please suggest what can be the reason for this above error as its now started annoying us.
Thanks!
I doubt killing w3wp.exe was a good idea: it's the IIS worker process. Have a look at http://blog.whitesites.com/w3wp-exe-using-too-much-memory-and-resources__633900106668026886_blog.htm for some assistance.
Use a profiler, such as Ants Profiler to see what resources are not released. Look for the objects that are holding most memory.
精彩评论