Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 384441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:22:51+00:00 2026-05-12T15:22:51+00:00

We have a .NET application running in production for over a year. It is

  • 0

We have a .NET application running in production for over a year. It is a background service and the way it is written is that if it crashes for whatever reason it will be automatically restarted. Till recently it did not give us any headaches despite a heavy load it handles daily, but now every once in a blue moon it crashes with OutOfMemorey exception. After restart it picks up whereever it crashed and does whatever it is supposed to do, so the customer does not care, but I would like to understand what causes the crash.

Therefore the question: Is there a way to examine the crash WITHOUT redeploying the app?
What I would like to do is to generate a crash dump or smething and then manually go through the dump in an attempt to figure out what objects ate all my memory. What tools would you suggest I use to make this task easier?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:22:51+00:00Added an answer on May 12, 2026 at 3:22 pm

    You may find the following article from MSDN helpful:

    Production Debugging for .NET Framework Applications

    http://msdn.microsoft.com/en-us/library/ms954591.aspx

    Although it discusses ASP.NET applications in detail, some of the techniques describes are just as valid when performing memory analysis on services or stand-alone applications.

    You may also want to use Perfmon to connect to the process and see if you are getting a lot of growth in the Gen 1 or Gen 2 heaps – this is usually indicative of objects that are surviving too many garbage collections and creating memory pressure in your application. You may also want to look at the size of the Private Bytes metric – growth there indicates that a lot of unmanaged memory is getting allocated for your process.

    Perfmon analysis is useful because it can show you memory usage overtime, and help pinpoint if particular types of processing or transactions are responsible for memory consumption.

    If you can reproduce the problem in a test environment, there is an excellent memory profiler from the folks at Red Gate Software that can help pinpoint such problems in a fraction of the time it would take digging through memory dumps.

    There are some tools that can run in the background (such as DebugDiag) that allow cpaturing memory dumps periodically, or when certain events occur. You can read about them here:

    http://blogs.msdn.com/sukeshak/pages/ddintro.aspx

    http://blogs.msdn.com/tess/archive/2009/01/23/net-hang-analyzing-debug-diag-output.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an ASP.NET 3.5 application that has been in production for over a
We have an ASP.NET application running at a customer site that uses ActiveDirectory for
I have a .net 3.5 application running on windows mobile professional that uses sql
I have a website running a basic ASP.NET application that is mostly used from
I have a c# .NET 2.0 application that has been running on W2K/IIS5 quite
I have a web application developed with ASP.net and C# that is running on
We have a ASP.Net web application running in Visual Studio 2010 that is targeting
I have a .NET 4.0 console application running on a production server. The app
We have a ASP.Net 2.0 web application up and running with the server in
I have an application which is .NET 2.0, running on Windows XP Professional. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.