"Carl Daniel [VC++ MVP]" wrote:
> Luca Martinetti - Phatsoft wrote:
> > 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
>
>