How to Track C# Web Service Memory leaks

Posted on 2009-04-20
Medium Priority
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

Accepted Solution

HarryNS earned 500 total points
ID: 24183433

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
Suggested Courses

850 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