Large MemoryStream > 2gb

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Anybody has ever implemented a MemoryStream supporting more than 2gb?
I'm trying to implement it buf I have some problems with Buffer.BlockCopy
for large arrays.

Any suggestion or useful resource?

Thank
 
Luca said:
Hi,

Anybody has ever implemented a MemoryStream supporting more than 2gb?
I'm trying to implement it buf I have some problems with
Buffer.BlockCopy for large arrays.

Any suggestion or useful resource?

Come up with another design. .NET objects (including arrays, on which
MemoryStream is implemented) are limited to 2Gb max, even on 64-bit versions
of the CLR.

You might find this blog posting helpful:

http://blogs.msdn.com/joshwil/archive/2005/08/10/450202.aspx

-cd
 
Back
Top