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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:45:07+00:00 2026-05-20T18:45:07+00:00

Recently I was running the example provided by Andrew Hunter on his blog The

  • 0

Recently I was running the example provided by Andrew Hunter on his blog “The Dangers of the Large Object Heap” compiled against .NET 4 and I got the following numbers:

With large blocks: 622Mb allocated
With large blocks, frequent garbage
collections: 582Mb allocated
Only
small blocks: 1803Mb allocated
With
large blocks, large blocks not
growing: 630Mb allocated

If the same code is compiled against.NET 2.0 I got almost the numbers mentioned in article:

With large blocks: 21Mb allocated
With large blocks, frequent garbage
collections: 26Mb allocated
Only small
blocks: 1811Mb allocated
With large
blocks, large blocks not growing:
707Mb allocated

What is the cause of such dramatical improvement?

Code is compiled for x86 platform and is run on Windows 7

  • 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-20T18:45:08+00:00Added an answer on May 20, 2026 at 6:45 pm

    Some much needed work from the CLR team is the reason for the improvements, but apparently there is room for improvement still:

    http://mitch-wheat.blogspot.com/2010/11/net-clr-large-object-heap.html

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

Sidebar

Related Questions

I recently updated my Eclipse (now running 20100218-1602), and I've found whenever I click
I recently discovered that a sql query that was running fine earlier is now
i'm running into a problem in my maven build recently, that it downloads a
I recently created a ajax based instant messaging application and after running for a
I recently installed python 2.7.2 on my Mac running OSX 10.6.8. Previously, I had
We've recently adopted Scrum on the job and are running into trouble with a
I have just recently gotten into LessCSS and I am running into what I
I'm running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently
Silverstripe is running on my since a few weeks. Recently, I get an Internal
Our team recently upgraded to TeamCity 4.5.4 but we're having trouble with TeamCity running

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.