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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:51:48+00:00 2026-05-25T11:51:48+00:00

Possible Duplicate: C# memory leak? Sorry if this is not the right place to

  • 0

Possible Duplicate:
C# memory leak?

Sorry if this is not the right place to post this, seeing as it’s not strictly code related.

Basically, since the beginning of this work, a program which has worked flawlessly before has suddenly started throwing Out of Memory exceptions. After checking out the usage, I discovered the memory usage increases by a ridiculous 1mb per second! This happens on a part of the program that iterates over a collection, and calls many different methods – so it seems like these objects are staying in memory even after use.

What does this issue sound like to everyone else? I’ve been debugging the code, ensuring nothing’s left open and all is disposed, but to no avail. I’m wondering if perhaps the .NET framework on the computer it runs from has become corrupt, and the garbage collection isn’t running.

I plan to test on another computer later to hopefully prove this theory

  • 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-25T11:51:48+00:00Added an answer on May 25, 2026 at 11:51 am

    Garbage collection will only clear up objects in the heap with no references left to them. Although you’ve ensured you’re disposing everything it’ll also be an idea to specifically null any of these references to objects after use.

    Perhaps you can post the troublesome code?

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

Sidebar

Related Questions

Possible Duplicate: how to find memory leak in c++ code/project I would like to
Possible Duplicate: Objective C Memory Management My code is showing a memory leak here:
Possible Duplicate: Algorithm to rotate an image 90 degrees in place? (No extra memory)
Possible Duplicate: Possible memoryleak in ConcurrentBag? I have epic memory leak in my app.
Possible Duplicate: Creating a memory leak with Java There is a Garbage Collector in
Possible Duplicates: Is it possible to have a memory leak in managed code? (specifically
Possible Duplicate: Creating a memory leak with Java What's the easiest way to cause
Possible Duplicate: General strategy to resolve Java memory leak? I have a standalone program
Possible Duplicate: Anatomy of a “Memory Leak” Hi All what are the best practices
Possible Duplicate: Problem accessing user uploaded video in temporary memory So I've tried 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.