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 7571905
In Process

The Archive Base Latest Questions

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

I have a .NET service with a normal private working set of about 80

  • 0

I have a .NET service with a normal private working set of about 80 MB. During a recent load test, the process reached 3.5 GB memory usage causing the whole machine to be low on physical memory (3.9 of 4 GB used), and the memory was not released long after the load test was stopped. Using task manager, I took a dump file of the process and opened it in Visual Studio 2010 SP1, and I am able to start debugging on it.

How do I diagnose the memory issue? I have dotTrace Memory 3.x at my disposal, does it support memory profiling on dump files? If not, will the memory profiling features of Visual Studio 2010 Premium help (I currently have Professional)? Can WinDbg help?

UPDATE: The new Visual Studio 2013 Ultimate can now natively diagnose memory issues using dump files. See this blog post for more details.

  • 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-30T15:47:14+00:00Added an answer on May 30, 2026 at 3:47 pm

    Install WinDbg. You need to make sure you get the correct version x86 or x64 depending on your dump. Here is a direct link to the download for x86.

    On that, you need to ensure you took the correct dump. You can use Task Manager to create the dump file (right click on process -> Create Dump File).
    If you’re on 64bit and your process is x86 use the 32bit version of Task Manager (C:\Windows\SysWOW64\taskmgr.exe) to take the dump file. See my article for more info on taking dump files, eg if you’re on XP and need to use windbg to create the dump file.

    warning there’s a fairly steep learning curve and things might not work exactly as described here so come back with any issues.

    I’m assuming you’re using .NET4 given you can open the dump in Visual Studio. Here’s a very quick guide to help you work with your dmp file:

    1) Run WinDbg, set symbols path (File -> Symbol Search Path) to

    SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
    

    2) Open Crash dump or drag your .DMP file onto WinDbg.

    3)type this into the command window

    .loadby sos clr
    

    (FYI, for .NET 2, the command should be .loadby sos mscorwks)

    4) then type this

    !dumpheap -stat
    

    which lists the type of objects and their count.
    looks something like this:

    enter image description here

    You will have to analyze this in the context of your application and see if anything appears unusual.

    There is much more to windbg, google is your friend.

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

Sidebar

Related Questions

I have a normal web service. Many java and .net users are accessing it.
I have .Net service that listens on single port over TCP protocol. Clients connect
I have a .NET service built with C# and it requires install util to
I have a .NET service, based on ServiceBase : public partial class Service :
I have VB.net windows service and in one of the functions I am using
I have a .NET Windows Service (.NET 3.5) with a timer ( System.Timers.Timer ).
I have a .net Windows Service developed in VB.net. I have a settings file
I have a .NET Windows service and a .NET Web Application that I would
I have a .NET Web Service running in VS2005 and a client that consumes
I have a .NET web service (using asmx...have not upgraded to WCF yet) that

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.