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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:35:10+00:00 2026-05-13T18:35:10+00:00

I am trying to work out some memory leak issues in an application, and

  • 0

I am trying to work out some memory leak issues in an application, and I am really hoping someone here can offer me some insights that will help. I’ve been tinkering with this all day and I am afraid I’m completely stuck.

The application I am troubleshooting works fine initially, but will become sluggish and perhaps even crash if it is used after sitting idle for a couple hours. I assume this is due to some sort of memory leak that is getting worse over time. As far as I know, there are no internal processes, such as Timers or endless loops, etc., that can account for the memory leak, but the symptoms are reproducible, so something is definitely going on.

In order to try to work this out, I downloaded and installed a trial version of .NET Memory Profiler. Unfortunately, though, I’m not really sure how to interpret the results I’m getting. As far as I can tell, the classes that seem to me to be the most problematic are system classes, such as System.Version and System.Object[]. I am thinking this based on an assumption that the “data to look for” is the number of unreachable instances and bytes reported by the profiler.

Here is some sample data, similar to what I’ve been seeing:

  1. Namespace: System
    • Class Name: Version
    • Live Instances…
    • Total: 2
    • Delta: 0
    • Live Bytes…
    • Total: 48
    • New: 48
    • Max: 24
    • Delta: 0
    • Unreachable…
    • Instances: 15,556
    • Bytes: 373,344
  2. Namespace: System
    • Class Name: Object[]
    • Live Instances…
    • Total: 1,198
    • Delta: 0
    • Live Bytes…
    • Total: 117,916
    • New: 117,916
    • Max: 7,016
    • Delta: 0
    • Unreachable…
    • Instances: 3,054
    • Bytes: 204,592

If I am reading this right, the two largest problems I am facing is that I have over 15,000 instances of assembly versions and over 3,000 objects that are “unreachable,” though admittedly I’m not exactly sure what is meant by “unreachable.”

So, my specific questions are these:

  • Can anyone tell me if I’m reading the .Net Memory Profiler data correctly?
  • If I am reading the data correctly, what could cause my application to generate more assembly version instances and more object instances while no end user is interacting with it?
  • 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-13T18:35:11+00:00Added an answer on May 13, 2026 at 6:35 pm

    There’s no real evidence of any kind of leak from what you’ve posted. The garbage collector hasn’t run for a while, that’s normal on an idle program. The 0.5 MB those uncollected objects take is peanuts.

    What will happen when a program is idle for a while is that its virtual memory pages will get swapped out to the paging file. When it regains the focus, those pages need to be swapped back in. When the machine is old, that can take a while. Your real problem is more than likely disk fragmentation, especially on the paging file.

    You should be able to tell from the hard disk drive access light, it ought to be furiously blinking. You can also tell from TaskMgr.exe, Process tab. View + Select Columns, tick Page Fault Delta. That number should go to zero in a second or less after restoring the program’s window.

    Defrag your disk. Especially the paging file, which is hard to do. Ask questions about that at superuser.com

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

Sidebar

Related Questions

I am trying to work out the best database model for the current setup:
I am trying to work out how to get the value of table cell
I'm trying to work out a way of passing the web current http context
I am trying to work out a code sample to demonstrate the debugging functionality
I am trying to work out the format of a password file which is
I'm still working on groking the F# thing - trying to work out how
I found this in an error log and am trying to work out how
I've been reading about the @font-face rule and trying to work out if it's
I'm trying to work this out. In my project, i have a file called
I have been trying to use a formula that is used to work out

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.