I have a 64 bit VB.NET application and want to allocate a buffer > 2GB in size.
In the following code both the \"new\" and the \"ReDim\" throw an \"OverflowException
The following works [in theory] (C# syntax):
Array.CreateInstance(typeof(int[]), 0L);
Edit: Make a type with a fixed-size allocated array of 1GB arrays. You can re-index in the Item property via a shift.