How to Track C# Web Service Memory leaks

Posted on 2009-04-20
Last Modified: 2013-12-17
Hi Everyone,

Looking for some advice regarding windows 2003 and C# memory Leaks..

Our Primary web server is host to a set of web services etc that provide the majority of functions and features to a client program people within our office use.

we are struggling with the system and random crashes and errors which seem to be releated to memory usage, if we switch the server on and boot up as normal after a day or so things start to bog down and performance is noticeably slower also the amout of free memory the server has is considerably lower than when it was first started up.

How can i check the system / web services for memory leaks etc, we have ANTS profiler and i am aware of our Dev guys using this on a majority of the system but we still have a lot of legacy code that has not been touched for a while running. we also tend to run into the System.OutOfMemoryException a lot.

i have no prior experience in tracking or finding memory errors in .NET applications and have so far drawn a blank  trying to find out if this system is consuming more and more memory.

our web server is a windows 2003 std box with 2 x 2.5 xeon processors and 2Gb of ram 260Gb hard drive space.

any help or recommendations on how i can tell if this is a memory leak and where would be appreciated.
Question by:dave_source
    1 Comment
    LVL 6

    Accepted Solution


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
    A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f… provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now