w3wp.exe is consuming more memory for sharepoint site(shows in task manager)
what is the root casue of this issue ?
Please tel me the possible steps to resolve this issue ?
|
w3wp.exe is consuming more memory for sharepoint site(shows in task manager) what is the root casue of this issue ? Please tel me the possible steps to resolve this issue ? |
|||||
|
|
Are you sure this a problem? Memory is there to be used after all. It might be just that people are using your application. A common cause of memory leaks is the use of SPWeb and SPSite objects that are incorrectly managed. This usually becomes apparent by inpecting the ULS logs. Frequent app pool recycles are also an indicator. Check out this article on correct disposal If you suspect a component, you can run SPDisposecheck against the DLL and it will flag up any issues. Do ensure you're not prematurely optimising. Also, memory is cheap - stick some more in, it'll save you grey hairs in the long run. |
||||
|
|
|
I have the same problem. I have reviewed my source code and find out the cause. Maybe it can help you. My old source code
And the new one
|
|||
|
|
|
+1 with SHug, the first thing I always do in my development is to run SPDisposeCheck and fix all issues, also read SHug article on disposal, its a must on a sharepoint developer arsenal, you should learn it from heart. |
|||
|
|