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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:39:54+00:00 2026-05-26T18:39:54+00:00

This is an interesting one. First of all the setup: 8GB RAM Windows 7

  • 0

This is an interesting one. First of all the setup:

  • 8GB RAM
  • Windows 7 Pro x64
  • VS2010 Ultimate

I have a memory intensive algorithm that crunches through data using LINQ/PLINQ. The initial implementation relied on PLINQ. A unit test succeeds. But remarkably while trying to see what kind of performance benefits I am getting from using PLINQ vs. LINQ, the same test fails with OutOfMemoryException when parallelism is disabled.

Is there any reasonable explanation? I can consistently reproduce that. I didn’t check but could I be running out not memory but some resources instead which are allocated differently depending on threading model? Ideas?

  • 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-26T18:39:55+00:00Added an answer on May 26, 2026 at 6:39 pm

    A single Object in .net is limited to 2 GB, even on 64-Bit. If you are not using PLINQ I would guess that some object (for example, a List) is getting bigger than 2 Gigabytes and thus crashes. With PLINQ – since it splits its work – I would guess that it creates multiple Lists that are all under 2 GB.

    Please post some code, without it it’s impossible to give any details.

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

Sidebar

Related Questions

First of all i have to say this is a strange one: Client has
Alright, this one's interesting. I have a solution, but I don't like it. The
I have read several interesting C#/F# comparisons here on stackoverflow. So, first of all,
So I have an interesting problem. We setup this PHP script to send out
This is one of the more interesting things I've seen in iPhone development. The
I'm generally not a fan of microbenchmarks. But this one has a very interesting
I have this interesting obstacle on my project. I am currently doing a MVC3
i have been reading this interesting article which is increasing my every growing confusion
First of all I'd welcome edits to the title of this question, I couldn't
I am having an interesting bug in MSIE8, only. I have also tested this

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.