Large data processing in x86 C# gives System.OutOfMemory exception

Posted by Cool on Stack Overflow See other posts from Stack Overflow or by Cool
Published on 2010-04-16T02:35:40Z Indexed on 2010/04/16 2:43 UTC
Read the original article Hit count: 522

Filed under:
|

I am processing XML coming from server which contains both images and data in one C# function (compiled 32 bit). When I try to parse this xml in memory it gives me System.OutOfMemory exception.

Is there any way to avoid this error?

My guess is, system cannot find contiguous block of 50-100MB memory. (my pc hv 8Gig ram and its quad core)

© Stack Overflow or respective owner

Related posts about c#

Related posts about outofmemoryexception