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

  • Home
  • SEARCH
  • 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 49149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:23:29+00:00 2026-05-10T16:23:29+00:00

I wrote C++ for 10 years. I encountered memory problems, but they could be

  • 0

I wrote C++ for 10 years. I encountered memory problems, but they could be fixed with a reasonable amount of effort.

For the last couple of years I’ve been writing C#. I find I still get lots of memory problems. They’re difficult to diagnose and fix due to the non-determinancy, and because the C# philosophy is that you shouldn’t have to worry about such things when you very definitely do.

One particular problem I find is that I have to explicitly dispose and cleanup everything in code. If I don’t, then the memory profilers don’t really help because there is so much chaff floating about you can’t find a leak within all the data they’re trying to show you. I wonder if I’ve got the wrong idea, or if the tool I’ve got isn’t the best.

What kind of strategies and tools are useful for tackling memory leaks in .NET?

  • 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. 2026-05-10T16:23:30+00:00Added an answer on May 10, 2026 at 4:23 pm

    I use Scitech’s MemProfiler when I suspect a memory leak.

    So far, I have found it to be very reliable and powerful. It has saved my bacon on at least one occasion.

    The GC works very well in .NET IMO, but just like any other language or platform, if you write bad code, bad things happen.

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

Sidebar

Related Questions

I wrote a C# application for a client a couple of years ago, but
A couple years ago I wrote a C#.NET program that used Microsoft ACE and
We've been using libxml-ruby for a couple of years. It is fantastic on files
Almost 5 years ago Joel Spolsky wrote this article, The Absolute Minimum Every Software
First a little intro: Last year i wrote this http://dragan.yourtree.org/code/canvas-3d-graph/ Now, i want to
For years I have been using the DEBUG compiler constant in VB.NET to write
This may be the most obscure bug I have yet encountered in many years
I have an OpenGL example I wrote years ago demonstrating the lense effect using
I'm thinking about rewriting an MS Access db I wrote years ago into a
I'm revisiting my class tracking (dirty logic), which I wrote last year. Currently I

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.