« Previous Next »

Answered Thread: Out of Memory Exception - Help us

Last post 09-16-2009 12:42 AM by ramonaquinojr. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 03-26-2008, 8:48 AM

    • DaraPuth
    • Not Ranked
    • Joined on 03-26-2008, 12:41 PM
    • Posts 1

    Out of Memory Exception - Help us

    Concerned,

    Am heading a team developping a web application using VS2005+vb.net. The team consists of about 17 to 20 developers depending on the need. Our IIS 6.0 is often throwing an error as "Out of Memory", though we have taken many-a-steps as
    1) Increasing the RAM of the server to 4GB
    2) Isolating the Server only for our App
    3) ReCycling all Cache objects as well as Session Objects
    4) Implementing IDisposable on major objects of our application
    5) Enabling Client GC
    blah.. blah.. 

    keeping this in regards, Can some one help me out how to debug / trace / identify the memory loopwhole.

    Apart of all, help me to understand, how to scan the memory footprint at IIS.

    Thanks for reading this.

  • 03-26-2008, 9:31 AM In reply to

    Answered Re: Out of Memory Exception - Help us

    Hello DaraPuth ,

     Did you run DebugDiag and take a dump. You can download it at

    This Location

    That is the Microsoft link...  and this will help you in using DebugDiag

     

    More info at http://support.microsoft.com/kb/919792 

    Regards,
    MA Khan
    http://www.iisworkstation.com

    “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. ”
  • 03-26-2008, 9:42 AM In reply to

    Answered Re: Out of Memory Exception - Help us

    What do you mean by 'Out of Memory'?

    What is your virtual memory, what is your free physical memory?

    Get your admin to monitor the memory on the server. 

    Look here for more explaniation on Memory Fragmentation.

    http://blogs.msdn.com/david.wang/archive/2006/02/14/More-on-Virtual-Memory-Memory-Fragmentation-and-Leaks-and-WOW64.aspx

     

  • 04-21-2008, 7:31 PM In reply to

    • ajedi2k
    • Not Ranked
    • Joined on 04-21-2008, 11:25 PM
    • Posts 1

    Re: Out of Memory Exception - Help us

     hi

    i have a similar issue.

    my app server running on IIS 6 windows server 2003 R2. with 2 core 2 duo Extream CPUs and 10gb RAM. running windows on 32-bit but got /pae switch to extend the memory to 10gb.

    in my web application i do com+ work (open word, merge documents on demand from the web site). when i do a load test, i.e. run about 50 separate word processes CPU gets very busy which is ok, but when it hits the memory 5.5gb/10gb i get 'System.OutOfMemoryException' was thrown errors.

    so why am i getting this error when there's almost 50% more memory available. IIS has an application pool with 4 worker threads.

    can anyone help? 

  • 08-28-2009, 7:36 AM In reply to

    Re: Out of Memory Exception - Help us

    Dear DaraPuth,

    I read your post here & found you were facing the same problem. i have an server with IIS 6.0 with both both 1.0 & 2.0 .net projects. as mentioned in your post my IIS also crashesh & after a system restart it starts working.

     i have gone through lot of posts but didnt find anything usefull for me. can you please help me in resolving this issue. how did you resolved your issue can you plaease explain.

    Please help me if you can & send your reply.

     Thanks & Regards,

    Bipin

  • 09-16-2009, 12:42 AM In reply to

    Re: Out of Memory Exception - Help us

     You may having this kind of problem.

    http://support.microsoft.com/kb/825680

    You can verify your application if you are using large objects.

    Hope this helps.

Page 1 of 1 (6 items)
Microsoft Communities