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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T08:41:38+00:00 2026-05-21T08:41:38+00:00

I am running a large .net 4.0 x86 app on Windows Server 2003 x64

  • 0

I am running a large .net 4.0 x86 app on Windows Server 2003 x64 (2x Xeon 4 core procs), and am running into issues where my app ~2-3 times a day freezes for 30 seconds, and then resumes functioning as normal. The application is only rebooted once a week, and consumes 400-800 mb of memory, so I am assuming these freezes are Garbage Collection. I am only seeing the freezes in the logs, not live, or I would check the Task Manager to confirm.

I am trying to figure out which .Net 4 GC is running, and how to either switch the GC to the new concurrent background gc if it isn’t, or how to confirm these are in fact GCs (Procmon doesn’t show .Net instruments in Win2k3 server).

  • 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-21T08:41:39+00:00Added an answer on May 21, 2026 at 8:41 am

    You are running on the server version of Windows, you’ll get the server version of the garbage collector by default. Which doesn’t do background collections, garbage is collected by multiple threads so occasional observable pauses are not unusual. You can force the workstation version with an app.exe.config file:

    <configuration>
       <runtime>
          <gcServer enabled="false"/>
       </runtime>
    </configuration>
    

    Also review the docs for the GC.RegisterForFullGCNotification() method for a way to deal with the side-effect of the pauses.

    .NET version 4.5 will support background collections for the server GC.

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

Sidebar

Related Questions

For a large database (thousands of stored procedures) running on a dedicated SQL Server,
I have a large .NET based system running within the company intranet, which allows
I’ve got a situation with a large internal corporate web based application running ASP.NET
We have a fairly large system involving multiple applications running on Windows, written in
I am uploading large files to an ASP.NET server using a standard HTML <input>
I am working on a fairly large MVC 3 application, and I'm running into
We are running a large project with several different languages: Java, Python, PHP, SQL
I'm using Eclipse 3.4 with WTP 3.0.2 and running a fairly large Dynamic Web
I'm running a regular expression against a large scalar. Though this match isn't capturing
I have an automated test running on my program that generates some large MPG

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.