Groups | Blog | Home
all groups > dotnet framework > may 2007 >

dotnet framework : Large MemoryStream > 2gb


Luca Martinetti - Phatsoft
5/31/2007 6:54:03 AM
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

--
Carl Daniel [VC++ MVP]
5/31/2007 7:09:44 AM
[quoted text, click to view]

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

Luca Martinetti - Phatsoft
5/31/2007 7:54:10 AM
Thanks for your help!
--
Phatsoft Inc.


[quoted text, click to view]
AddThis Social Bookmark Button