w3wp.exe (ASP .Net) eating memory

Discussion in 'ASP General' started by venom00, Nov 17, 2009.

  1. venom00

    venom00 Guest

    Hello, i'm on a VPS with Windows 2003 x64 (IIS 6.0 so) and i have a
    serious problem with w3wp.exe. It starts from 60 Mb and then grows
    until the whole avaiable RAM is used.

    http://img32.imageshack.us/img32/4120/w3wpgraph.png

    Here's an example image showing w3wp.exe private bytes and Gen 0 Heap
    size. They seems related, but if I use ".NET CLR Memory/# Bytes in all
    Heaps " it is much lower than private bytes. Can we still say that is
    an ASP .Net problem?

    Moreover analyzing a crash dump the heap size i obtain is smaller, 200
    Mb while the crash dump was 700 mb and private bytes about 600 mb.

    http://pastebin.com/m6c448c9d

    Here is also a !dumpheap -stat:

    http://pastebin.com/m7fd72aa

    I've done a "!dumpheap -mt 000006427881aaf8" (the System.String entry)
    and I've found that the bigger strings are aspx pages. I've a lot of
    them on my website (thousands). Maybe w3wp.exe is caching them? How
    can i disable this feature?
    !gcroot on one of this strings gives the following output:

    http://pastebin.com/m15545adc

    Does this mean it's orphaned but not collected by the GC?

    Here's a "!dumpheap -stat -type Cach":

    http://pastebin.com/m2955d688

    And a !do and a !gcroot of a CacheEntry:

    http://pastebin.com/f38df0a24


    If you need it, I can also give you the link to the whole dump. I've
    been working on it for a week without results!

    Thanks in advance,
    Carl
    venom00, Nov 17, 2009
    #1
    1. Advertising

  2. venom00

    Bob Barrows Guest

    venom00 wrote:
    > Hello, i'm on a VPS with Windows 2003 x64 (IIS 6.0 so) and i have a
    > serious problem with w3wp.exe. It starts from 60 Mb and then grows
    > until the whole avaiable RAM is used.
    >

    ***canned wrong-newsgroup reply************************
    There was no way for you to know it (except maybe by browsing through some
    of the previous questions in this newsgroup before posting yours - always a
    recommended practice) , but this is a classic (COM-based) asp newsgroup.
    ASP.Net bears very little resemblance to classic ASP so, while you may be
    lucky enough to find a dotnet-knowledgeable person here who can answer your
    question, you can eliminate the luck factor by posting your question to a
    group where those dotnet-knowledgeable people hang out. I suggest
    microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.
    ******************************************************************
    --
    Microsoft MVP - ASP/ASP.NET - 2004-2007
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
    Bob Barrows, Nov 17, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. matt
    Replies:
    1
    Views:
    9,663
    =?Utf-8?B?cm9iX2Jvc3Rvbg==?=
    Apr 6, 2004
  2. AN
    Replies:
    4
    Views:
    15,112
    Scott Allen
    Jul 21, 2005
  3. Chris
    Replies:
    1
    Views:
    2,918
    Jim Cheshire
    Jan 12, 2006
  4. venom00

    w3wp.exe (ASP .Net) eating memory

    venom00, Nov 17, 2009, in forum: ASP .Net
    Replies:
    3
    Views:
    5,332
    venom00
    Nov 18, 2009
  5. Replies:
    0
    Views:
    333
Loading...

Share This Page