« Previous Next »

Thread: W3WP.exe eating all my resources in Classic ASP application

Last post 08-27-2007 7:19 AM by Zhao Ji Ma - MSFT. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 08-22-2007, 11:37 AM

    W3WP.exe eating all my resources in Classic ASP application

    Hi all,

    I know this is probably an easy problem to fix, or at least I hope so, but for the life of me I can't figure out why the Private Bytes in my w3wp.exe process just keeps climbing until the application pool gets recycled. I have tried all the usual approaches to the problem such as ensuring all db connections are closed and killed off, making sure there are no infinite loops (well i tried to, hard to know) etc. No matter what I try, the memory usage just keeps creeping up by around 10Mb per minute. The weird thing is when I change one of the code files included on the page (a large one, around 70k), and upload it to the server, the memory usage of w3wp.exe drops back down to normal (around 50Mb) and begins creeping up again (almost as if the newly uploaded page had been loaded into memory several times and once the w3wp.exe process sees a fresh version it unloads them all only to begin again.)

    This problem has been doing my head in for around 5 days now and any help at all would be appreciated,

    Many thanks in advance,

    Osh

  • 08-27-2007, 7:19 AM In reply to

    Re: W3WP.exe eating all my resources in Classic ASP application

    Hi Osh,

    Propertyshowrooms:

    I have tried all the usual approaches to the problem such as ensuring all db connections are closed and killed off, making sure there are no infinite loops (well i tried to, hard to know) etc. No matter what I try, the memory usage just keeps creeping up by around 10Mb per minute. The weird thing is when I change one of the code files included on the page (a large one, around 70k), and upload it to the server, the memory usage of w3wp.exe drops back down to normal (around 50Mb) and begins creeping up again (almost as if the newly uploaded page had been loaded into memory several times and once the w3wp.exe process sees a fresh version it unloads them all only to begin again.)

    Do you use CreateObject? Does it use script library?

    Based on my understanding, there are still many other aspects need to check to avoid this kind of issue. Here is an article that might be useful for you with more than 25 tips.

    http://msdn2.microsoft.com/en-us/library/ms972335.aspx

    If it is a complex project, I think you can contact our Product Support Services for further help.

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (2 items)
Microsoft Communities