Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / June 2006

Tip: Looking for answers? Try searching our database.

What is the GC Generation Threshold for .net 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Nemtsev - 08 Jun 2006 12:27 GMT
What are the GC Generation thresholds for .net 2.0?
For .net 1.0 it was 0.256, 2, 10 mb
Barry Kelly - 08 Jun 2006 18:15 GMT
> What are the GC Generation thresholds for .net 2.0?
> For .net 1.0 it was 0.256, 2, 10 mb

I know that the size of gen0 depends on the size of the CPU cache, so it
won't be fixed.

-- Barry

Signature

http://barrkel.blogspot.com/

Willy Denoyette [MVP] - 08 Jun 2006 20:47 GMT
| What are the GC Generation thresholds for .net 2.0?
| For .net 1.0 it was 0.256, 2, 10 mb

All I know is that for a .NET application hosted by the shell and using the
WKS GC, the initial size of the Gen0 is a factor of the on die cache size
with a minimum of 256 Kb. Other hosts like SQLServer and ASP.NET are
initializing the Gen0 size to a larger number.
This threshold is dynamically changed depending on the
allocation/deallocation frequency, for a Windows forms application the
initial size quickly grows above 1Mb after initialization.
The threshold for Gen1 and Gen2 seem to be a factor of the size of Gen0, but
it's hard to find the initial values, even when running in the debugger.
Note the SSCLI sources aren't of any help here, this part of the CLI isn't
what has been implemented in the CLR.

Willy.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.