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

  • Home
  • SEARCH
  • 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 7940355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:21:46+00:00 2026-06-03T23:21:46+00:00

Solved: It turns out that the affected machine had .NET 4.5 beta installed. I

  • 0

Solved: It turns out that the affected machine had .NET 4.5 beta installed.


I have a C# application using .NET4 that deadlocks / hangs indefinitely in a call to

GC.AddMemoryPressure(12000000)

Since it is an in production app I can’t really share any code – however I would like to get some hints on what might make GC.AddMemoryPressure hang.

  • 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-06-03T23:21:48+00:00Added an answer on June 3, 2026 at 11:21 pm

    Thanks for your input.

    It turns out that the affected machine had .NET 4.5 beta installed.

    It seems that it wasn’t deadlocked since one core was fully saturated. The call to AddMemoryPressure seemed to end up in the function clr!CNameSpace::GcScanRoots that never returned.

    Uninstalling 4.5 beta and installing .NET 4 seems to have fixed the problem.

    If this was truly the problem then I sure hope MS fix it before release.

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

Sidebar

Related Questions

SOLVED: As it turns out, my problem was rooted in the fact that I
SOLVED - it turns out that passing nil to removeObserver:forKeyPath: fails, but ONLY in
Solved I actually found out what is going on here. Turns out it was
EDIT: solved it, turns out I should use %c not %s because foodSelect and
This is not exactly a straight-out question because I have just solved it, but
I recently asked how to solve a simple SQL query . Turns out that
I have finished my first Qt application, and noticed that the QApplication constructor in
According to my research whilst trying to solve this problem, it turns out that
@Solved The two subquestions I have created have been solved (yay for splitting this
I have an Activity that opens the Camera and starts a preview on a

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.