Download Garbage Collection Sample Code

Description

Garbage collection sample code demonstrates the differences between the large and small object heaps. This code supports the blog post at http://www.deepcode.co.uk

Source Files

The download file netgarbage.zip has the following entries.


.hgignore//from  www  .  j a v  a  2s .com
LOHDemo/Constants.cs
LOHDemo/IHost.cs
LOHDemo/ITest.cs
LOHDemo/LOHDemo.csproj
LOHDemo/LOHDemo.sln
LOHDemo/OneMegObject.cs
LOHDemo/Program.cs
LOHDemo/Properties/AssemblyInfo.cs
LOHDemo/SmallObjectUnderThresholdForLOH.cs
LOHDemo/TestInterlacedMemoryAllocationResultsInOutOfMemory.cs
LOHDemo/TestInterlacedMemoryAllocationWithFullReleaseDoesNotResultInOutOfMemory.cs
LOHDemo/TestNonInterlacedMemoryAllocationDoesNotResultInOutOfMemory.cs
LOHDemo/TestSmallObjectHeapInterlacedAllocationDoesCompaction.cs

Download

Click the following link to download netgarbage.zip.

netgarbage.zip




















Home »
  C# Free Code »
    Web »




AJAX
Blog
DotNetNuke
Email
HTML
Http
IIS
JavaScript
jQuery
RSS
URL
VoIP
Web
WebSite
WebSocket