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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:09:54+00:00 2026-05-11T06:09:54+00:00

Is there one Garbage Collector for an entire system one instance of a garbage

  • 0

Is there

  • one Garbage Collector for an entire system
  • one instance of a garbage collector for each user that is logged in
  • one garbage collector for each running .NET application

Or is it none of the above (please explain)?

  • 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-11T06:09:55+00:00Added an answer on May 11, 2026 at 6:09 am

    There is one GC thread per .NET process and therefore one Heap per process. However, the objects are mapped to the individual AppDomains in order to provide process isolation benefits. While there can be more than one AppDomain within a process, by default there is only one per process.

    Terminal Services:

    What this means is that for a typical deployment of an application (called MyApp.exe) in a Terminal Services environment, the distinct instances of the .NET application that users are running will each have independent heaps and active memory management. More importantly, the Terminal Services sessions themselves represent a memory boundary of sorts given that sessions are unloaded when the user logs off (http://msdn.microsoft.com/en-us/library/aa383496(VS.85).aspx).

    The following illustrates how MyApp.exe would be loaded for each Terminal Services session, and it explains some settings that could impact memory availability and performance within a session: http://blogs.technet.com/askperf/archive/2007/07/24/sessions-desktops-and-windows-stations.aspx

    Deep Details:

    Please refer to Jon Skeet’s response here for more detail: What is the scope of finalizer thread – per application domain or per process?

    Esoteric Details:

    Additionally, the following article explains how Microsoft is now allowing side-by-side CLR instances so that multiple versions of the CLR can be run at the same time. This applies to Silverlight specficially: http://msdn.microsoft.com/en-us/magazine/cc721609.aspx

    Also, it appears that the this feature is going to be supported for all future versions of the CLR: http://blogs.msdn.com/davbr/archive/2008/11/10/new-stuff-in-profiling-api-for-upcoming-clr-4-0.aspx

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

Sidebar

Related Questions

Is there one method or property in the .NET Framework that tells if an
There's one specific feature that I wish was in the .NET framework, but isn't.
IS there a way to set a garbage collector only for one type, like
I'm writing a program that contains a generational garbage collector. There are just two
There is one thing I really love about LXML, and that the E builder.
See also these related resources: Does the .NET garbage collector perform predictive analysis of
I have a Java web application running on Tomcat 7 that appears to have
Possible Duplicate: Garbage collector and circular reference Is there any impact on GC performance
We have a swing based application that does complex processing on data. One of
Thanks to Jeffrey for the fantastic one, http://msdn.microsoft.com/en-us/magazine/bb985010.aspx The garbage collector scans the finalization

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.