开发者

x64 Visual Studio 2008 -- inputting huge array

开发者 https://www.devze.com 2023-01-08 20:02 出处:网络
I want to write a console application in Visual Studio 2008 that inputs a 3.5 GB array (file), and just adds one to each element of the array.

I want to write a console application in Visual Studio 2008 that inputs a 3.5 GB array (file), and just adds one to each element of the array. I have it configured for release and x64. I set up a project using the CLR console application project type. I running on Vista and have 8 GB of memory.

When I run the program, it is giving me this error:

An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in does_it_wo开发者_开发知识库rk_2.exe

Additional information: External component has thrown an exception.

Have I configured anything wrong, why is it not working?


Because Visual Studio is a 32 bit application ;) Debugger = 32 bit, IIRC, not 64 bit ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消